Summary: | TLS / non-TLS mismatch for COMMON declared in both ways | ||
---|---|---|---|
Product: | gcc | Reporter: | Bernhard Fischer <rep.nop> |
Component: | fortran | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | gcc-bugs, jakub |
Priority: | P3 | Keywords: | openmp |
Version: | 4.2.0 | ||
Target Milestone: | --- | ||
Host: | i686-linux-gnu | Target: | i686-linux-gnu |
Build: | i686-linux-gnu | Known to work: | |
Known to fail: | Last reconfirmed: |
Description
Bernhard Fischer
2006-10-01 14:47:11 UTC
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. |