[AArch64] Merge stores of D-register values with different modes
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr47157.c
blob0947a5f9a3eda2fe9536b1f816ac9dce70f25048
1 /* PR rtl-optimization/47157 */
3 struct S { unsigned a; unsigned b; } c = { 1, 0 };
4 unsigned long int e;
5 void bar (int);
6 int baz (void);
8 static int
9 foo (int x, short y)
11 return ((x ^ y) & ((x ^ (x ^ y) & ~__INT_MAX__) - y ^ y)) < 0 ? x : x - y;
14 void
15 test (void)
17 bar (foo (baz () != (c.a | c.b), -1L));
18 for (e = 0; e; e = 1)