------- Comment #9 from jzhang918 at gmail dot com 2009-09-15 14:21 ------- (In reply to comment #8) > (In reply to comment #6) > > (In reply to comment #1) > > > The cause is that DW_TAG_variable references gomp_tls_data instead of > > > ___emutls_v.gomp_tls_data. > > > > > > > Here's an example: > > No, that's not it, that's not it at all, sorry. Here's the relevant part of > the debug info from iter.s in the libgomp build dir, with a bit of surrounding > context: > > .ascii "thr\0" > .byte 0x1 > .byte 0x92 > vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv > .long 0xa79 > .long _gomp_tls_data > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Yeah, this is what I found. When var-tracking generates debug_insn, it should use ___emutls_v.gomp_tls_data as normal insn is expanded.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41357