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
2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr20922-2.c
blob
4bbebfd5f17d422a1187c9df32aabe4b7445ba8d
1
/* { dg-do compile } */
2
/* { dg-options "-fwrapv -fdump-tree-gimple" } */
3
int
f
(
int
i
)
4
{
5
return
(
i
-
2
) >
i
;
6
}
7
8
int
g
(
int
i
)
9
{
10
return
(
i
+
2
) <
i
;
11
}
12
13
int
h
(
double
i
)
14
{
15
return
(
i
+
2.0
) <=
i
;
16
}
17
/* { dg-final { scan-tree-dump-times " = 0" 0 "gimple" } } */
18
/* { dg-final { cleanup-tree-dump "gimple" } } */