PR middle-end/80809
commit2be704a8328d8b53984c5488b6ee173a2924bc6b
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 May 2017 18:54:05 +0000 (22 18:54 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 May 2017 18:54:05 +0000 (22 18:54 +0000)
tree7824d1e6f2475b21c05bfc71e55b7adcb45da4f7
parentd96999c66faa6198385f5bdfd24cd6579cc38e25
PR middle-end/80809
* gimplify.c (omp_add_variable): For GOVD_DEBUG_PRIVATE use
GOVD_SHARED rather than GOVD_PRIVATE with it.
(gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses): Expect
GOVD_SHARED rather than GOVD_PRIVATE with GOVD_DEBUG_PRIVATE.

* testsuite/libgomp.c/pr80809-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248345 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimplify.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr80809-1.c [new file with mode: 0644]