URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [mips/] [mips16-attributes-4.c] - Rev 704
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do run } */ /* { dg-options "(-mips16)" } */ extern void abort (void); __complex float f = { -1.0 + -1.0i }; __complex float __attribute__((nomips16)) foo (void) { return f; } __complex float (*volatile foop) (void) = foo; __complex float __attribute__((mips16, noinline)) bar (void) { return foop (); } int main (void) { if (bar () != f) abort (); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log