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-3.c
blob
149da1bd912459a98414cd6de01e3e538048d1eb
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
40
:
13
case
42
:
14
if
(
value
!=
42
)
15
abort
();
16
case
50
:
17
blah
();
18
}
19
}
20
21
/* There should be one IF conditional. */
22
/* { dg-final { scan-tree-dump-times "if " 1 "dom2"} } */
23