Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
ssa-copyprop-1.c
blob: ed0dcac1ed51f0142ca751754e2606519c6ec86e [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -fno-tree-dominator-opts -fdump-tree-optimized" } */
typedef
struct
{
int
i
;
int
j
;
}
A
;
int
foo
(
A
*
a
,
int
i
)
{
a
->
i
=
i
;
return
a
->
i
;
}
/* { dg-final { scan-tree-dump "return i" "optimized" } } */