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
/
20030814-2.c
blob
a99abf41570911b383d56c0dc3b69699beec7644
1
/* { dg-do compile } */
2
/* { dg-options "-O1 -fdump-tree-dom2" } */
3
4
extern
void
abort
(
void
);
5
extern
void
blah
(
void
);
6
7
void
8
foo
(
int
value
)
9
{
10
switch
(
value
)
11
{
12
case
42
:
13
if
(
value
!=
42
)
14
abort
();
15
case
50
:
16
blah
();
17
}
18
}
19
20
/* There should be no IF conditionals. */
21
/* { dg-final { scan-tree-dump-times "if " 0 "dom2"} } */
22