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]
/
fast-math-vect-pow-2.c
blob
a9d927b3f6036c8257be3a5b5677c947f4c6d53b
1
/* { dg-do compile } */
2
3
typedef
double
d_type
;
4
struct
5
{
6
d_type x
;
7
d_type y
;
8
}
S
[
100
];
9
10
#define N 16
11
d_type
foo
(
d_type t
);
12
13
d_type
14
main1
()
15
{
16
int
i
;
17
d_type t
;
18
19
for
(
i
=
0
;
i
<
N
;
i
++)
20
{
21
t
= (
d_type
)
i
/ (
d_type
)
10
;
22
S
[
5
].
x
=
t
*
t
;
23
}
24
return
S
[
5
].
x
;
25
}
26
27
int
28
main
(
void
)
29
{
30
d_type tmp
=
main1
();
31
}
32
/* { dg-final { cleanup-tree-dump "vect" } } */
33