aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-07-28 19:00:06 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-07-28 19:00:06 +0200
commit652c4638a0194d601e968599e27319e1edcd93e2 (patch)
treead46818f516d8143e99cd575130c838a4547d4cf /gcc/dwarf2out.c
parentfb039b24f5066fb5a021f852ae0de4b242a21089 (diff)
downloadgcc-652c4638a0194d601e968599e27319e1edcd93e2.zip
gcc-652c4638a0194d601e968599e27319e1edcd93e2.tar.gz
gcc-652c4638a0194d601e968599e27319e1edcd93e2.tar.bz2
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
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index d6751ac..f9fc997 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