OSDN Git Service

PR middle-end/48597
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Apr 2011 17:01:02 +0000 (17:01 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Apr 2011 17:01:02 +0000 (17:01 +0000)
* final.c (final_scan_insn): Call dwarf2out_frame_debug even for
inline asm.

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

gcc/ChangeLog
gcc/final.c

index d50ad4e..eb6cc3a 100644 (file)
@@ -1,3 +1,9 @@
+2011-04-28  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/48597
+       * final.c (final_scan_insn): Call dwarf2out_frame_debug even for
+       inline asm.
+
 2011-04-28  Joseph Myers  <joseph@codesourcery.com>
 
        * config.gcc (*-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* |
 2011-04-28  Joseph Myers  <joseph@codesourcery.com>
 
        * config.gcc (*-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* |
index df5d7d5..7e1ae90 100644 (file)
@@ -2313,6 +2313,11 @@ final_scan_insn (rtx insn, FILE *file, int optimize_p ATTRIBUTE_UNUSED,
            location_t loc;
            expanded_location expanded;
 
            location_t loc;
            expanded_location expanded;
 
+           /* Make sure we flush any queued register saves in case this
+              clobbers affected registers.  */
+           if (dwarf2out_do_frame ())
+             dwarf2out_frame_debug (insn, false);
+
            /* There's no telling what that did to the condition codes.  */
            CC_STATUS_INIT;
 
            /* There's no telling what that did to the condition codes.  */
            CC_STATUS_INIT;