[Bug debug/39524] Duplicate C++ DW_TAG_variable breaking its DW_AT_location resolution

2010-03-22 Thread dodji at gcc dot gnu dot org
--- Comment #7 from dodji at gcc dot gnu dot org 2010-03-22 16:11 --- This got fixed in 4.4 but the PR never got closed. Closing now. -- dodji at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/39524] Duplicate C++ DW_TAG_variable breaking its DW_AT_location resolution

2009-03-23 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2009-03-23 10:14 --- Created an attachment (id=17517) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17517action=view) gcc44-pr39524.patch Could you please test this with gdb/archer testsuite? I'm going to bootstrap/regtest it in

[Bug debug/39524] Duplicate C++ DW_TAG_variable breaking its DW_AT_location resolution

2009-03-23 Thread dodji at gcc dot gnu dot org
--- Comment #2 from dodji at gcc dot gnu dot org 2009-03-23 11:20 --- Created an attachment (id=17518) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17518action=view) another candidate fix I was looking at this bug when I saw Jakub's patch :) After talking with Jakub a little bit

[Bug debug/39524] Duplicate C++ DW_TAG_variable breaking its DW_AT_location resolution

2009-03-23 Thread jan dot kratochvil at redhat dot com
--- Comment #3 from jan dot kratochvil at redhat dot com 2009-03-23 11:32 --- One fix should be enough next time, thanks. Going to gdb-regression test both the patches (in Fedora GCC on Fedora 11). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39524

[Bug debug/39524] Duplicate C++ DW_TAG_variable breaking its DW_AT_location resolution

2009-03-23 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-03-23 13:52 --- Created an attachment (id=17520) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17520action=view) gcc44-pr39524.patch Modified Dodji's patch I've actually bootstrapped/regtested (neither of the patches caused any

[Bug debug/39524] Duplicate C++ DW_TAG_variable breaking its DW_AT_location resolution

2009-03-23 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2009-03-23 14:30 --- Created an attachment (id=17521) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17521action=view) gcc44-pr39524.patch Argh, sorry, actually this patch, not the one I've attached in the previous comment. --

[Bug debug/39524] Duplicate C++ DW_TAG_variable breaking its DW_AT_location resolution

2009-03-23 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-03-23 23:21 --- Subject: Bug 39524 Author: jakub Date: Mon Mar 23 23:21:38 2009 New Revision: 145018 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=145018 Log: PR debug/39524 * dwarf2out.c (gen_variable_die):