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 obsolete| | --- Comment #6 from Mark Wielaard <mark at gcc dot gnu.org> 2012-01-21 00:33:03 UTC --- Created attachment 26399 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26399 debug_ranges.c - Get some statistics on .debug_ranges section. Here is a slightly tweaked version of debug_ranges.c that also recognizes nested lexical_blocks and will print which dies/ranges it finds that are equal, but are at different range offsets. die [ed] and [d3] use range [40] and [0], 6 equal addresses. die [100] and [ed] use range [80] and [40], 6 equal addresses. die [10c] and [100] use range [c0] and [80], 6 equal addresses. die [11f] and [10c] use range [100] and [c0], 6 equal addresses. cus: 1 subprograms: 2 inlined_subroutines: 1 lexical_blocks: 4 equal_ranges: 0 shared_addrs: 0 dup_ranges: 4 dup_addrs: 24