[C++ PATCH] Fix #pragma omp threadprivate error-recovery (PR c++/34964, c++/35244)

Mark Mitchell mark@codesourcery.com
Tue Feb 19 01:10:00 GMT 2008


Jakub Jelinek wrote:

> Regtested on x86_64-linux, ok for 4.4 and 4.3 after 4.3 GA?
> 
> 2008-02-18  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR c++/34964
> 	PR c++/35244
> 	* semantics.c (finish_omp_threadprivate): Do nothing for error_operand_p
> 	vars.  Afterwards ensure v is VAR_DECL.
> 
> 	* gcc.dg/gomp/pr34964.c: New test.
> 	* g++.dg/gomp/pr34964.C: New test.
> 	* gcc.dg/gomp/pr35244.c: New test.
> 	* g++.dg/gomp/pr35244.C: New test.

OK.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list