This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/41357] libgomp build fail



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]