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
/
pr21463.c
blob
ed0829a038c48d9b7a223ebafb80fc6a43dcef26
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-phiprop-details" } */
3
4
struct
f
5
{
6
int
i
;
7
};
8
9
int
g
(
int
i
,
int
c
,
struct
f
*
ff
,
int
g
)
10
{
11
int
*
t
;
12
if
(
c
)
13
t
= &
i
;
14
else
15
t
= &
ff
->
i
;
16
return
*
t
;
17
}
18
19
/* { dg-final { scan-tree-dump-times "Inserting PHI for result of load" 1 "phiprop" } } */