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
LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr84687.c
blob
f3ac9ac27dda681cb83cc6c721d1c9e10c997964
1
/* PR tree-optimization/84687 */
2
/* { dg-do compile } */
3
/* { dg-options "-Ofast" } */
4
5
int
a
[
64
],
b
;
6
double
pow
(
double
,
double
);
7
__attribute__
((
__simd__
))
double
exp
(
double
);
8
9
void
10
foo
(
double
x
)
11
{
12
int
i
;
13
double
c
=
exp
(
x
);
14
for
(
i
=
0
;
i
<
64
;
i
++)
15
{
16
b
=
i
;
17
a
[
i
] =
pow
(
12.0
,
b
) *
pow
(
c
,
i
);
18
}
19
}