diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/final.c | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1e4307dc13d..1c1cbaad7b1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,12 @@ 2011-05-03 Jakub Jelinek <jakub@redhat.com> Backport from mainline + 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-27 Jakub Jelinek <jakub@redhat.com> PR c/48742 diff --git a/gcc/final.c b/gcc/final.c index e2b7461bbbe..a6d41b79f77 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -2241,6 +2241,11 @@ final_scan_insn (rtx insn, FILE *file, int optimize ATTRIBUTE_UNUSED, 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; |