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
2016-12-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
vect
/
pr37174.cc
blob
78cb12f63ed3c4a3fe3f70f1ec220a88fd07398a
1
/* { dg-do compile } */
2
3
int
*
getFoo
();
4
struct
Bar
{
5
Bar
();
6
int
*
foo1
;
7
int
*
foo2
;
8
int
*
table
[
4
][
4
][
4
];
9
};
10
Bar
::
Bar
() {
11
foo1
=
getFoo
();
12
foo2
=
getFoo
();
13
for
(
int
a
=
0
;
a
<
4
; ++
a
) {
14
for
(
int
b
=
0
;
b
<
4
; ++
b
) {
15
for
(
int
c
=
0
;
c
<
4
; ++
c
) {
16
table
[
a
][
b
][
c
] =
foo1
;
17
}
18
}
19
}
20
}
21
22