projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR tree-optimization/33291 (a+=2; a+=2 not simplified to a+=4; with -O3 ...
[gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
alias-12.c
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-salias-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" "salias" } } */
17
/* { dg-final { cleanup-tree-dump "salias" } } */
18