public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/99094] New: [AIX] Thread local uninitialized data allocated in .comm
@ 2021-02-14  2:01 dje at gcc dot gnu.org
  2021-02-14  2:01 ` [Bug target/99094] " dje at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dje at gcc dot gnu.org @ 2021-02-14  2:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99094

            Bug ID: 99094
           Summary: [AIX] Thread local uninitialized data allocated in
                    .comm
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dje at gcc dot gnu.org
  Target Milestone: ---
            Target: powerpc-ibm-aix*

GCC on AIX generates thread local uninitialized data in the common section,
which could conflict with another module.

$ cat static2.c
static _Thread_local int x;
$ cat static2.s
...
        .comm x[UL],4

The symbol should be allocated in the TLS lcomm BSS section.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-12  3:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-14  2:01 [Bug target/99094] New: [AIX] Thread local uninitialized data allocated in .comm dje at gcc dot gnu.org
2021-02-14  2:01 ` [Bug target/99094] " dje at gcc dot gnu.org
2021-03-09 20:50 ` dje at gcc dot gnu.org
2021-03-11 21:56 ` cvs-commit at gcc dot gnu.org
2021-03-12  3:24 ` dje at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).