2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / forwprop-36.c
blob9de73ff947fa0746e39c16ec9b34d0580d5cdaa9
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.0_\[0-9\]+ != 0\\)" "cddce1" } } */