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
Set num_threads to 50 on 32-bit hppa in two libgomp loop tests
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.c-c++-common
/
unary-ptr-1.c
blob
3623b2695763830803090a2a247034428ec78240
1
#include <assert.h>
2
3
int
main
(
int
argc
,
char
*
argv
[])
4
{
5
int
y
=
0
;
6
int
*
x
= &
y
;
7
8
#pragma omp target map(*x)
9
{
10
(*
x
)++;
11
}
12
13
assert
(
y
==
1
);
14
15
return
0
;
16
}