------- Comment #1 from jakub at gcc dot gnu dot org 2006-10-01 18:16 ------- That testcase is invalid. See OpenMP 2.5 standard, 2.8.2, which states: If a threadprivate directive specifying a common block name appears in one program unit, then such a directive must also appear in every other program unit that contains a COMMON statement specifying the same name.
I don't see a big advantage in silently accepting invalid code. -- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29308