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
/
vrp04.c
blob
67f8f01139eff96a229d7ee86241566ea0f7ec78
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fno-tree-fre -fdump-tree-vrp1" } */
3
4
int
5
foo
(
int
a
,
int
b
)
6
{
7
if
(
a
==
b
)
8
/* This should be folded to if (1) */
9
if
(
a
==
b
)
10
return
a
+
b
;
11
}
12
13
/* { dg-final { scan-tree-dump-times "if" 1 "vrp1" } } */