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
/
ssa-dom-cse-4.c
blob
cc9dde95255b4c2c3e518ebf20367235374f826e
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-optimized" } */
3
4
extern
void
abort
(
void
);
5
6
unsigned int
7
foo
(
unsigned int
x
,
unsigned int
y
)
8
{
9
unsigned int
z
;
10
11
if
(
x
>=
y
)
12
return
1
;
13
14
if
(
y
==
x
)
15
abort
();
16
17
return
0
;
18
}
19
20
/* { dg-final { scan-tree-dump-not "abort" "optimized" } } */