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
/
alias-12.c
blob
dbd33016032ac54a58d8e292a6ea327e3eb8240c
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-alias1-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 "V_MAY_DEF" "alias1" } } */
17
/* { dg-final { cleanup-tree-dump "alias1" } } */
18