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
Implement C _FloatN, _FloatNx types.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr63342.c
blob
499d508c13f0c934caa9e4f0b36a32e1213ec2d5
1
/* PR debug/63342 */
2
/* { dg-do compile } */
3
/* { dg-options "-g -O2" } */
4
/* { dg-additional-options "-fpic" { target fpic } } */
5
6
static
__thread
double
u
[
9
],
v
[
9
];
7
8
void
9
foo
(
double
**
p
,
double
**
q
)
10
{
11
*
p
=
u
;
12
*
q
=
v
;
13
}
14
15
double
16
bar
(
double
x
)
17
{
18
int
i
;
19
double
s
=
0.0
;
20
for
(
i
=
0
;
i
<
9
;
i
++)
21
{
22
double
a
=
x
+
v
[
i
];
23
s
+=
u
[
i
] *
a
*
a
;
24
}
25
return
s
;
26
}