[Bug debug/51902] lexical_blocks inside inlined_subroutines generate duplicate debug_ranges

2012-03-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51902 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug debug/51902] lexical_blocks inside inlined_subroutines generate duplicate debug_ranges

2012-03-05 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51902 --- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org 2012-03-05 20:17:54 UTC --- Author: jakub Date: Mon Mar 5 20:17:44 2012 New Revision: 184958 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184958 Log: PR debug/51902 *

[Bug debug/51902] lexical_blocks inside inlined_subroutines generate duplicate debug_ranges

2012-01-24 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51902 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.0 ---

[Bug debug/51902] lexical_blocks inside inlined_subroutines generate duplicate debug_ranges

2012-01-23 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51902 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Attachment #26391|0 |1 is

[Bug debug/51902] lexical_blocks inside inlined_subroutines generate duplicate debug_ranges

2012-01-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51902 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Attachment #26385|0 |1 is

[Bug debug/51902] lexical_blocks inside inlined_subroutines generate duplicate debug_ranges

2012-01-20 Thread mark at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51902 --- Comment #3 from Mark Wielaard mark at gcc dot gnu.org 2012-01-20 13:31:04 UTC --- (In reply to comment #2) Mark, can you please look at this if it does the right thing you want from it? Yes, this seems to do what I was thinking of. And it

[Bug debug/51902] lexical_blocks inside inlined_subroutines generate duplicate debug_ranges

2012-01-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51902 --- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2012-01-20 13:37:50 UTC --- We could go just to the immediate supercontext if BLOCK_SAME_RANGE (both when the fragment count is the same and when it is smaller in the child), but we'd

[Bug debug/51902] lexical_blocks inside inlined_subroutines generate duplicate debug_ranges

2012-01-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51902 --- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2012-01-20 17:44:50 UTC --- The patch breaks g++.dg/guality/redeclaration1.C on i?86 -m32 -Os -g. The supercontext range has 3 elements, the same range child range has 2 elements, same as

[Bug debug/51902] lexical_blocks inside inlined_subroutines generate duplicate debug_ranges

2012-01-20 Thread mark at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51902 Mark Wielaard mark at gcc dot gnu.org changed: What|Removed |Added Attachment #26380|0 |1 is

[Bug debug/51902] lexical_blocks inside inlined_subroutines generate duplicate debug_ranges

2012-01-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51902 --- Comment #1 from Jakub Jelinek jakub at gcc dot gnu.org 2012-01-19 18:04:54 UTC --- Created attachment 26385 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26385 gcc47-pr51902.patch Partial patch. The following example shows it even