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-7.c
blob
7ef604be293d907a976a5c3ae1e21ba27b7d7169
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