Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tree-ssa/vrp53.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 } */ |
2 /* { dg-options "-O2 -fdump-tree-vrp1 -fno-tree-ccp" } */ | |
3 | |
4 int | |
5 f1 (int x) | |
6 { | |
7 x &= 0xff; | |
8 x += 0x400; | |
9 x &= 0x7ff; | |
10 return x; | |
11 } | |
12 | |
13 int | |
14 f2 (int x) | |
15 { | |
16 x &= 0xff; | |
17 x += 0x5400; | |
18 x |= 0x4400; | |
19 return x; | |
20 } | |
21 | |
22 /* { dg-final { scan-tree-dump-not "\& (2047|0x7ff)" "vrp1" } } */ | |
23 /* { dg-final { scan-tree-dump-not "\\| (17408|0x4400)" "vrp1" } } */ |