OSDN Git Service

PR debug/45103
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Jul 2010 17:00:06 +0000 (17:00 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Jul 2010 17:00:06 +0000 (17:00 +0000)
* dwarf2out.c (dwarf2out_var_location): Always consider
NOTE_DURING_CALL_P notes, even when not followed by real instructions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162646 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dwarf2out.c

index 5e8721d..03c0db1 100644 (file)
@@ -1,3 +1,9 @@
+2010-07-28  Jakub Jelinek  <jakub@redhat.com>
+
+       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  <maxim@codesourcery.com>
 
        PR rtl-optimization/45107
index d6751ac..f9fc997 100644 (file)
@@ -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