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
2018-01-16 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
no-math-errno-vect-pow-1.c
blob
b943f5a967a0cdbe198cf0113d0fe062938805ed
1
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_double } */
3
4
double
x
[
256
];
5
6
void
foo
(
void
)
7
{
8
int
i
;
9
for
(
i
=
0
;
i
<
256
; ++
i
)
10
x
[
i
] =
__builtin_pow
(
x
[
i
],
0.5
);
11
}
12
13
/* { dg-final { scan-tree-dump "pattern recognized" "vect" { xfail spu*-*-* } } } */