gcc-patches@gcc.gnu.org
[Top] [All Lists]

Re: [gomp] Diagnose #pragma omp threadprivate on automatic vars or on va

Subject: Re: [gomp] Diagnose #pragma omp threadprivate on automatic vars or on vars with incomplete type
From: Diego Novillo
Date: Wed, 2 Nov 2005 08:25:17 -0500
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.

<Prev in Thread] Current Thread [Next in Thread>