This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/41357] libgomp build fail
- 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: 15 Sep 2009 16:42:55 -0000
- Subject: [Bug debug/41357] libgomp build fail
- References: <bug-41357-11815@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from jakub at gcc dot gnu dot org 2009-09-15 16:42 -------
tls-local-exec for the VAR_DECL is not expected to me, I'd say it should be
TLS_MODEL_EMULATED for the !targetm.have_tls case. dwarf2out.c has no way
knowing the SYMBOL_REF needs special treatment, as when it is created,
encode_section_info only puts in the tls model if targetm.have_tls. So,
probably it will need to do that even for !targetm.have_tls and put
TLS_MODEL_EMULATED into SYMBOL_REF_TLS_MODEL. I wonder if such SYMBOL_REF ever
occurs in RTL except for DEBUG_INSNs/NOTE_VAR_INSN_LOCATION.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41357