[AArch64] Merge stores of D-register values with different modes
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr59747.c
blob5578f79bc99fe294c5bec8db26e96feb76266fa5
1 extern void abort (void);
2 extern void exit (int);
4 int a[6], c = 1, d;
5 short e;
7 int __attribute__ ((noinline))
8 fn1 (int p)
10 return a[p];
13 int
14 main ()
16 if (sizeof (long long) != 8)
17 exit (0);
19 a[0] = 1;
20 if (c)
21 e--;
22 d = e;
23 long long f = e;
24 if (fn1 ((f >> 56) & 1) != 0)
25 abort ();
26 exit (0);