This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp] Fix VLAs as local variables inside OMP constructs
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Diego Novillo <dnovillo at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 23 Jan 2007 10:03:33 -0800
- Subject: Re: [gomp] Fix VLAs as local variables inside OMP constructs
- References: <20070123143049.GE29911@devserv.devel.redhat.com>
On Tue, Jan 23, 2007 at 09:30:49AM -0500, Jakub Jelinek wrote:
> 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.
Ok.
r~