http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46752

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|                            |INVALID

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-02 
09:44:57 UTC ---
That is invalid testcase.
The Fortran restrictions on FIRSTPRIVATE clause, OpenMP 3.0, page 93, say:
   A variable that appears in a firstprivate clause must be definable.
and Fortran standard says:
An allocatable variable that has not been allocated is an example of a data
object that is not definable.

Non-definable allocatables are allowed just in PRIVATE or SHARED clauses.

Reply via email to