This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/38118] gcc emits non-TLS data as TLS on Solaris 11/SPARC
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Nov 2008 09:39:19 -0000
- Subject: [Bug target/38118] gcc emits non-TLS data as TLS on Solaris 11/SPARC
- References: <bug-38118-279@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jakub at gcc dot gnu dot org 2008-11-18 09:39 -------
If you don't want to call it a bug, call it at least a misfeature.
Given that Solaris as supports .tls_common directive, having .common directive
behave differently depending on whether current section is .tbss (apparently
comparison by name, flags don't matter and when in .tdata .common behaves
normally) or not is very surprising.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38118