[PR target/115123] Fix testsuite fallout from sinking heuristic change
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / forwprop-36.c
blobd00b957a7d675950e67db9c1c007b858251fb570
1 /* { dg-do compile { target int128 } } */
2 /* { dg-options "-O -fdump-tree-cddce1" } */
4 typedef unsigned __int128 u128;
6 u128 a, b;
8 static inline u128
9 foo (u128 p1)
11 p1 += ~b;
12 return -p1;
15 int
16 main ()
18 u128 x = foo (~0x7fffffffffffffff);
19 if (x != 0x8000000000000001)
20 __builtin_abort();
21 return 0;
24 /* { dg-final { scan-tree-dump "if \\(b\\.\[01\]_\[0-9\]+ != 0\\)" "cddce1" } } */