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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
alias-12.c
blob
b542e493f5dfb0b16ea570ced83c772cd61144d1
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