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
ssa-math-opts, i386: Handle most unordered values rather than just 2 [PR116896]
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.c-c++-common
/
pr94366.c
blob
5837cd01a47d555a3872df2c472401dc4c038c68
1
/* PR middle-end/94366 */
2
3
int
4
main
()
5
{
6
int
a
=
2
;
7
#pragma omp parallel reduction(&& : a)
8
a
=
a
&&
1
;
9
if
(!
a
)
10
__builtin_abort
();
11
a
=
4
;
12
#pragma omp parallel reduction(|| : a)
13
a
=
a
||
0
;
14
if
(!
a
)
15
__builtin_abort
();
16
return
0
;
17
}