re PR middle-end/30494 (ICE with VLA and openmp)
authorJakub Jelinek <jakub@redhat.com>
Wed, 24 Jan 2007 20:56:45 +0000 (21:56 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 24 Jan 2007 20:56:45 +0000 (21:56 +0100)
commit4288fea21277dfd56522378ce31ae2461a299303
tree75c43a7ce945db56bb7724178a49aded220ffc57
parent3d55c64b495dd49e7b91b451837d93a380764af2
re PR middle-end/30494 (ICE with VLA and openmp)

PR middle-end/30494
* gimplify.c (omp_add_variable): Don't call omp_notice_variable
on TYPE_SIZE_UNIT for GOVD_LOCAL VLAs.

* gcc.dg/gomp/pr30494.c: New test.
* g++.dg/gomp/pr30494.C: New test.

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

From-SVN: r121132
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gomp/pr30494.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/gomp/pr30494.c [new file with mode: 0644]
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr30494.c [new file with mode: 0644]