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
PR testsuite/52641
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
alias-12.c
blob
b1fb7997f3c517a7fa4156a48babc55a39cc1c66
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-alias-vops" } */
3
4
struct
{
5
int
i
;
6
int
x
[
128
];
7
int
j
;
8
}
a
;
9
10
int
foo
(
int
i
)
11
{
12
a
.
x
[
i
] =
0
;
13
return
a
.
x
[
i
];
14
}
15
16
/* { dg-final { scan-tree-dump "VDEF" "alias" } } */
17
/* { dg-final { cleanup-tree-dump "alias" } } */
18