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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
no-math-errno-vect-pow-1.c
blob
8e3989a3283951de422562058e098069bb103c83
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" } } */