repo.or.cz
/
gcc-vect-testsuite.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add compile command to each testcase
[gcc-vect-testsuite.git]
/
pr37174.cc
blob
d720e4bfe9da6ef705fcce6acb76f86d58123130
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
/* { dg-final { cleanup-tree-dump "vect" } } */
23