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]
/
param-max-aliased-pr26197.cc
blob
198cd6b53ac10b825fd081fa9b65c994a2412e10
1
/* { dg-do compile } */
2
3
void
g
(
const void
*);
4
struct
B
5
{
6
int
*
x
[
2
];
7
int
*
p
;
8
B
()
9
{
10
for
(
int
**
p
=
x
;
p
<
x
+
4
; ++
p
)
11
*
p
=
0
;
12
}
13
~
B
()
14
{
15
g
(
p
);
16
}
17
};
18
void
bar
()
19
{
20
const
B
&
b
=
B
();
21
g
(&
b
);
22
}
23
24
/* { dg-final { cleanup-tree-dump "vect" } } */