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-7.c
1
/* { dg-do run } */
2
/* { dg-options "-O2" } */
3
4
void
abort
(
void
);
5
int
main
()
6
{
7
int
a
[
2
];
8
int
*
p
=
a
;
9
int
i
;
10
a
[
0
] =
1
;
11
a
[
1
] =
2
;
12
for
(
i
=
0
;
i
<
2
; ++
i
)
13
if
(
p
[
i
] !=
i
+
1
)
14
abort
();
15
return
0
;
16
}
17