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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
vect
/
pr51485.cc
blob
d57d7596d0e2bc2a9bcf018a59cb2233cbdb0c77
1
/* { dg-do compile } */
2
3
struct
A
{
A
();
unsigned int
a
; };
4
double
bar
(
A a
)
throw
()
__attribute__
((
pure
));
5
6
void
7
foo
(
unsigned int
x
,
double
*
y
,
A
*
z
)
8
{
9
unsigned int
i
;
10
for
(
i
=
0
;
i
<
x
;
i
++)
11
y
[
i
] =
bar
(
z
[
i
]);
12
}
13
14
/* { dg-final { cleanup-tree-dump "vect" } } */