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
/
20030807-11.c
blob
6effbb7ffe547906b6813f1512acff8d4147ae22
1
/* { dg-do compile } */
2
/* { dg-options "-O1 -fdump-tree-dom2" } */
3
4
extern
void
abort
(
void
);
5
struct
rtx_def
;
6
typedef
struct
rtx_def
*
rtx
;
7
struct
rtx_def
8
{
9
int
code
;
10
};
11
void
12
foo
(
reg
)
13
rtx reg
;
14
{
15
reg
->
code
=
42
;
16
if
(
reg
->
code
!=
42
)
17
abort
();
18
}
19
20
/* There should be no IF conditionals. */
21
/* { dg-final { scan-tree-dump-times "if " 0 "dom2"} } */