------- Comment #5 from jakub at gcc dot gnu dot org 2008-09-26 21:00 ------- Subject: Bug 37275
Author: jakub Date: Fri Sep 26 20:59:03 2008 New Revision: 140712 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140712 Log: PR middle-end/37275 * dwarf2out.c (tls_mem_loc_descriptor): New function. (mem_loc_descriptor): Use it for MEM. For PLUS fail if second mem_loc_descriptor failed. Accept UNSPEC. (loc_descriptor): Use tls_mem_loc_descriptor for MEM. For PARALLEL fail if one of the loc_descriptor calls for pieces failed. (loc_descriptor_from_tree_1): Handle even DECL_EXTERNAL __thread vars, as long as they bind locally. For COMPONENT_REF, ARRAY_REF etc. fail if loc_descriptor_from_tree_1 on offset failed. * gcc.target/i386/pr37275.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr37275.c Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37275