repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
AVR: Assert minimal required bit width of section_common::flags.
[gcc.git]
/
libgomp
/
testsuite
/
libgomp.c
/
pr48591.c
blob
a1864b466b5412ad496d70af18c8c94b9f97522e
1
/* PR middle-end/48591 */
2
/* { dg-do run { target __float128 } } */
3
/* { dg-options "-O0" } */
4
/* { dg-add-options __float128 } */
5
6
extern
void
abort
(
void
);
7
8
int
9
main
()
10
{
11
__float128 f
=
0.0
;
12
int
i
;
13
#pragma omp parallel for reduction(+:f)
14
for
(
i
=
0
;
i
<
128
;
i
++)
15
f
+=
0.5
Q
;
16
if
(
f
!=
64.0
Q
)
17
abort
();
18
#pragma omp atomic
19
f
+=
8.5
Q
;
20
if
(
f
!=
72.5
Q
)
21
abort
();
22
return
0
;
23
}