This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp] Fix ICE on invalid C++ omp for
- 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: Wed, 26 Oct 2005 08:43:49 -0700
- Subject: Re: [gomp] Fix ICE on invalid C++ omp for
- References: <20051026152953.GP16034@devserv.devel.redhat.com>
On Wed, Oct 26, 2005 at 11:29:53AM -0400, Jakub Jelinek wrote:
> * semantics.c (finish_omp_for): Don't segfault if COND or INCR
> is NULL. If not calling c_finish_omp_for right away and one of
> COND and INCR is NULL, issue error and don't expand anything.
> * g++.dg/gomp/for-16.C: New test.
Ok.
r~