]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/omp-low.c
PR libgomp/69555
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Mar 2016 19:16:14 +0000 (19:16 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Mar 2016 19:16:14 +0000 (19:16 +0000)
commit00e3f0953dbe63060105f7e7a38ef836f6b258cb
treef57aa687d2dd5488df0e71d98672b1e7b3265350
parentd97ba4cabea6af6617c93f4b8bf099f6aea05607
PR libgomp/69555
* gimplify.c (gimplify_decl_expr): For decls with REFERENCE_TYPE, also
gimplify_type_sizes the type they refer to.
(omp_notice_variable): Handle reference vars to VLAs.
* omp-low.c (lower_omp_target): Emit setup of OMP_CLAUSE_PRIVATE reference
to VLA decls in the second pass instead of first pass.

* testsuite/libgomp.c++/pr69555-1.C: New test.
* testsuite/libgomp.c++/pr69555-2.C: New test.

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