repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr25485.c
blob
dda71eabfe9e1cebd97add740096d3343e8cf659
1
/* PR tree-optimization/25485
2
VRP did not fold TRUTH_AND_EXPR. Make sure it does now. */
3
4
/* { dg-options "-O2 -fdump-tree-vrp1" } */
5
6
int
7
foo
(
int
a
,
int
b
)
8
{
9
if
(
a
>
50
)
10
return
19
;
11
if
(
a
>
63
&&
b
<
50
)
12
return
17
;
13
return
31
;
14
}
15
16
/* { dg-final { scan-tree-dump-times "if" 1 "vrp1"} } */