OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [mips/] [mips16-attributes-2.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 321 jeremybenn
/* { dg-skip-if "" { *-*-* } { "-mflip-mips16" } { "" } } */
2
/* { dg-options "(-mips16)" } */
3
 
4
void f1 (void);
5
void __attribute__((mips16)) f1 (void) {} /* { dg-error "conflicting" } */
6
 
7
void __attribute__((mips16)) f2 (void);
8
void f2 (void) {} /* { dg-error "conflicting" } */
9
 
10
void f3 (void);
11
void __attribute__((nomips16)) f3 (void) {} /* { dg-error "conflicting" } */
12
 
13
void __attribute__((nomips16)) f4 (void);
14
void f4 (void) {} /* { dg-error "conflicting" } */
15
 
16
void __attribute__((mips16, nomips16)) f5 (void) {} /* { dg-error "cannot have both" } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.