Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tree-ssa/forwprop-36.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile { target int128 } } */ |
2 /* { dg-options "-O -fdump-tree-cddce1" } */ | |
3 | |
4 typedef unsigned __int128 u128; | |
5 | |
6 u128 a, b; | |
7 | |
8 static inline u128 | |
9 foo (u128 p1) | |
10 { | |
11 p1 += ~b; | |
12 return -p1; | |
13 } | |
14 | |
15 int | |
16 main () | |
17 { | |
18 u128 x = foo (~0x7fffffffffffffff); | |
19 if (x != 0x8000000000000001) | |
20 __builtin_abort(); | |
21 return 0; | |
22 } | |
23 | |
24 /* { dg-final { scan-tree-dump "if \\(b.0_\[0-9\]+ != 0\\)" "cddce1" } } */ |