* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Don't
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr40657.c
blobe6d8dda9f99e8cb8fadaa15cc8a1f769aa03127c
1 /* Verify that that Thumb-1 epilogue size optimization does not clobber the
2 return value. */
4 long long v = 0x123456789abc;
6 __attribute__((noinline)) void bar (int *x)
8 asm volatile ("" : "=m" (x) ::);
11 __attribute__((noinline)) long long foo()
13 int x;
14 bar(&x);
15 return v;
18 int main ()
20 if (foo () != v)
21 abort ();
22 exit (0);