SH: Fix outage caused by recently added 2nd combine pass after reg alloc
[official-gcc.git] / gcc / testsuite / gcc.target / mips / mips16-attributes-4.c
blobde7cb4349b7d0d04c28875bc302fab14f4d5e7db
1 /* { dg-do run } */
2 /* { dg-options "(-mips16)" } */
4 extern void abort (void);
6 __complex float f = { -1.0 + -1.0i };
7 __complex float __attribute__((nomips16)) foo (void) { return f; }
8 __complex float (*volatile foop) (void) = foo;
9 __complex float __attribute__((mips16, noinline)) bar (void) { return foop (); }
11 int
12 main (void)
14 if (bar () != f)
15 abort ();
16 return 0;