PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr78438.c
blob3383c322ab42b9a1f5c11119527e075f2cead2a9
1 /* PR target/78438 */
3 char a = 0;
4 int b = 197412621;
6 __attribute__ ((noinline, noclone))
7 void foo ()
9 a = 0 > (short) (b >> 11);
12 int
13 main ()
15 asm volatile ("" : : : "memory");
16 if (__CHAR_BIT__ != 8 || sizeof (short) != 2 || sizeof (int) < 4)
17 return 0;
18 foo ();
19 if (a != 0)
20 __builtin_abort ();
21 return 0;