Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tree-ssa/vrp22.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O1 -ftree-vrp -fdump-tree-vrp1" } */ | |
3 /* { dg-require-effective-target int32plus } */ | |
4 | |
5 extern void link_error (); | |
6 | |
7 void test02(unsigned int a, unsigned int b) | |
8 { | |
9 unsigned int x = 0x80000000; | |
10 if (a > x) | |
11 if (b < x) | |
12 if (a == b) | |
13 link_error (); | |
14 } | |
15 | |
16 /* { dg-final { scan-tree-dump-times "link_error" 0 "vrp1" } } */ |