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
Reverting merge from trunk
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr47684.c
blob
7cda812dd7fe43c4c85988ed3c3caea793603e91
1
/* PR debug/47684 */
2
/* { dg-do compile } */
3
/* { dg-options "-O3 -fcompare-debug" } */
4
/* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */
5
6
int
in
[
8
][
4
];
7
int
out
[
4
];
8
9
void
10
foo
(
void
)
11
{
12
int
sum
=
1
;
13
int
i
,
j
,
k
;
14
for
(
k
=
0
;
k
<
4
;
k
++)
15
{
16
for
(
j
=
0
;
j
<
4
;
j
++)
17
for
(
i
=
0
;
i
<
4
;
i
++)
18
sum
*=
in
[
i
+
k
][
j
];
19
out
[
k
] =
sum
;
20
}
21
}