--- Comment #3 from jakub at gcc dot gnu dot org 2010-08-28 10:02 ---
This is invalid.
See OpenMP 3.0, 2.9.4.1, COPYIN restrictions on page 102, lines 17-18:
An array with the ALLOCATABLE attribute must be in the allocated state. Each
thread's copy of that array must be allocated w
--- Comment #2 from longb at cray dot com 2010-08-27 18:36 ---
Created an attachment (id=21579)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21579&action=view)
Test case, including source files and compile script
Attached tar.gz file contains the source files and the compile.gnu
--- Comment #1 from longb at cray dot com 2010-08-27 18:31 ---
Comments from original submitter:
A [deleted] user has given me the following code which fails with gcc/4.5.0.
The
code is OK with PGI and CCE. The problem seems to come about from the use of
threadprivate in mod_globals.f