]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/39154 (Miscompilation of VLAs in nested parallel regions)
authorJakub Jelinek <jakub@redhat.com>
Wed, 11 Feb 2009 21:57:52 +0000 (22:57 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 11 Feb 2009 21:57:52 +0000 (22:57 +0100)
commit3ad6b2669b7a6d9cd1b12330fd7accd44fdd2154
tree4a20f063b19d39a1b3b6f180cab2f0a734d92d9c
parentb058b753550ca9588b3961e75f6d30399f9d2c67
re PR middle-end/39154 (Miscompilation of VLAs in nested parallel regions)

PR middle-end/39154
* gimplify.c (omp_notice_variable): If adding GOVD_SEEN
bit to variable length decl's flags, add it also to its
pointer replacement variable.

* testsuite/libgomp.c/pr39154.c: New test.

From-SVN: r144111
gcc/ChangeLog
gcc/gimplify.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr39154.c [new file with mode: 0644]