From: Jakub Jelinek Date: Wed, 28 Jul 2010 17:00:06 +0000 (+0200) Subject: re PR debug/45103 (DW_OP_reg* has too large valid range for noreturn funcs) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=652c4638a0194d601e968599e27319e1edcd93e2;p=gcc.git re PR debug/45103 (DW_OP_reg* has too large valid range for noreturn funcs) PR debug/45103 * dwarf2out.c (dwarf2out_var_location): Always consider NOTE_DURING_CALL_P notes, even when not followed by real instructions. From-SVN: r162646 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5e8721d3602..03c0db11f5c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-07-28 Jakub Jelinek + + PR debug/45103 + * dwarf2out.c (dwarf2out_var_location): Always consider + NOTE_DURING_CALL_P notes, even when not followed by real instructions. + 2010-07-28 Maxim Kuvyrkov PR rtl-optimization/45107 diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index d6751ac1dc2..f9fc9976c76 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -21278,7 +21278,7 @@ dwarf2out_var_location (rtx loc_note) next_real = next_real_insn (loc_note); /* If there are no instructions which would be affected by this note, don't do anything. */ - if (next_real == NULL_RTX) + if (next_real == NULL_RTX && !NOTE_DURING_CALL_P (loc_note)) return; /* If there were any real insns between note we processed last time