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
Merge from mainline.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr17141-1.c
blob
420c723da7feadd8aaf07f0f8f8e29c26fd7373c
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-forwprop2" } */
3
4
5
struct
A
{
int
i
; };
6
int
7
foo
(
struct
A
*
locp
,
int
str
)
8
{
9
int
T355
, *
T356
;
10
T356
= &
locp
->
i
;
11
*
T356
=
str
;
12
return
locp
->
i
;
13
}
14
15
/* { dg-final { scan-tree-dump-times "&" 0 "forwprop2" } } */
16
/* { dg-final { cleanup-tree-dump "forwprop2" } } */
17
18