diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-03-05 21:17:44 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-03-05 21:17:44 +0100 |
commit | 1e3c1d950e3723c46ef467306bcaea3a4f1a85f2 (patch) | |
tree | 0a203dfd5709e8e57936d2ab25e4fc15b3529a67 /gcc/objc/objc-map.c | |
parent | 8993fde43241743b76372651364048d45ce2309e (diff) | |
download | gcc-1e3c1d950e3723c46ef467306bcaea3a4f1a85f2.zip gcc-1e3c1d950e3723c46ef467306bcaea3a4f1a85f2.tar.gz gcc-1e3c1d950e3723c46ef467306bcaea3a4f1a85f2.tar.bz2 |
re PR debug/51902 (lexical_blocks inside inlined_subroutines generate duplicate debug_ranges)
PR debug/51902
* tree.h (BLOCK_SAME_RANGE): Define.
* function.c (block_fragments_nreverse): Clear BLOCK_SAME_RANGE
if BLOCK_FRAGMENT_CHAIN is non-NULL, but has it cleared.
Also clear BLOCK_SAME_RANGE if fragment chain's supercontext fragment
isn't equal to supercontext fragment's fragment chain.
Adjust BLOCK_SUPERCONTEXT to point to supercontext fragment's
fragment origin.
(blocks_nreverse_all): Likewise.
(reorder_blocks_1): Compute BLOCK_SAME_RANGE bits. Set
BLOCK_SUPERCONTEXT to supercontext fragment instead of
supercontext fragment's fragment origin.
* dwarf2out.c (add_high_low_attributes): If stmt has the same
range as its parent (or parents thereof etc.), use the parent's
DW_AT_ranges value instead of creating a new .debug_ranges range.
From-SVN: r184958
Diffstat (limited to 'gcc/objc/objc-map.c')
0 files changed, 0 insertions, 0 deletions