Sign in
gnu
/
gcc
/
2ce0608ca3dca30518bec525c435f7bc4d7f9b70
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
alias-access-path-10.c
blob: c42a6ce8f40af48e0267b67dadb83868027a34d0 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-fre1" } */
struct
a
{
int
array
[
3
];}
a
[
10
];
int
test
(
int
i
,
int
j
)
{
a
[
i
].
array
[
1
]=
123
;
a
[
j
].
array
[
2
]=
2
;
return
a
[
i
].
array
[
1
];
}
/* { dg-final { scan-tree-dump-times "return 123" 1 "fre1"} } */