This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gomp] Fix ICE on invalid C++ omp for


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]