PR debug/48204
[official-gcc.git] / gcc / testsuite / gcc.dg / pr36194.c
blob070a944e97f535e9979946cca431d76f897b5d80
1 /* { dg-do run } */
2 /* { dg-options "-O2" } */
4 void abort (void);
6 __attribute__ ((noinline)) void
7 f (int i)
9 #if(__SIZEOF_INT__ >= 4)
10 if (i != 0x87654321)
11 #else
12 if (i != 0x4321)
13 #endif
14 abort ();
15 asm ("");
18 __attribute__ ((noinline)) void
19 g (long long a)
21 f (a);
22 asm ("");
25 main ()
27 g (0x1234567887654321ll);
28 return 0;