[AArch64] PR target/84748: Mark *compare_cstore<mode>_insn as clobbering CC reg
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr84748.c
blob9572ab285c661c218acfa85c4e8a97a418d45a8e
1 /* { dg-require-effective-target int128 } */
3 typedef unsigned __int128 u128;
5 int a, c, d;
6 u128 b;
8 unsigned long long g0, g1;
10 void
11 store (unsigned long long a0, unsigned long long a1)
13 g0 = a0;
14 g1 = a1;
17 void
18 foo (void)
20 b += a;
21 c = d != 84347;
22 b /= c;
23 u128 x = b;
24 store (x >> 0, x >> 64);
27 int
28 main (void)
30 foo ();
31 if (g0 != 0 || g1 != 0)
32 __builtin_abort ();
33 return 0;