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] Diagnose #pragma omp threadprivate on automatic vars or on vars with incomplete type


On Wednesday 02 November 2005 03:20, Jakub Jelinek wrote:

> 	* c-parser.c (c_parser_omp_threadprivate): Error if V is automatic
> 	variable or has incomplete type.
> cp/
> 	* semantics.c (finish_omp_threadprivate): Error if V is automatic
> 	variable or has incomplete type.
> testsuite/
> 	* gcc.dg/gomp/tls-2.c: New test.
> 	* g++.dg/gomp/tls-2.C: New test.
>
OK.


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