http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46752
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-08 22:24:41 UTC --- (In reply to comment #5) > Reply from James: > > Version 3.1 of the OpenMP specification removes the offending bullet: " A > variable that appears in a firstprivate clause must be definable." When the > new spec is released GCC will have to change to allow this test. The OpenMP 3.1 draft is now available at http://openmp.org/wp/ ; cf. page 97/98. * * * Side remark: The issues mentioned in PR 45430, PR 42865 and http://openmp.org/forum/viewtopic.php?f=5&t=7&start=10#p292 seems also be solved, cf. "2.9.4.1 copyin clause" (p. 106-107) in the new spec. The old spec had the following in 2.9.4.1 (p98, l17-18): "An array with the ALLOCATABLE attribute must be in the allocated state. Each thread's copy of that array must be allocated with the same bounds."