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
arm: fix typo in dg-require-effective-target [PR118089]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
vrp-compare-1.c
blob
9889cf347064400feaf615966a08705247f8c437
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-evrp-details" } */
3
/* PR tree-optimization/28794 */
4
5
void
g
(
int
);
6
void
f1
(
int
x
)
7
{
8
if
(
x
<
0
)
return
;
9
g
(
x
>
0
);
10
}
11
12
/* `x > 0` should be optimized to just `x != 0` */
13
/* { dg-final { scan-tree-dump-times "Simplified relational" 1 "evrp" } } */