OSDN Git Service

PR middle-end/36802
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Dec 2008 10:36:01 +0000 (10:36 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Dec 2008 10:36:01 +0000 (10:36 +0000)
commit0cb159ec52b4176ce3132ffaba7ff46fcf78ac92
treeafeb602ff89a718fac03904e6d621cdacaf590a5
parent1e483c5745ebf4d3bfc7282804880a2e3d5cb8c5
PR middle-end/36802
* omp-low.c (use_pointer_for_field): Only call maybe_lookup_decl
on parallel and task contexts.

* testsuite/libgomp.c/pr36802-1.c: New test.
* testsuite/libgomp.c/pr36802-2.c: New test.
* testsuite/libgomp.c/pr36802-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142546 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr36802-1.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/pr36802-2.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/pr36802-3.c [new file with mode: 0644]