summaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-28 17:01:02 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-28 17:01:02 +0000
commitaefc445c32a1a2c94b0df828cf9bafad4b9fff4c (patch)
tree7c29e601b93e81b20af265c470141b7c3b88ddd3 /gcc/final.c
parent6ee152ce3dc92bfa71841432f1faaefd1445e7cd (diff)
downloadgcc-aefc445c32a1a2c94b0df828cf9bafad4b9fff4c.tar.gz
PR middle-end/48597
* 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
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/final.c b/gcc/final.c
index df5d7d5e681..7e1ae902477 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -2313,6 +2313,11 @@ final_scan_insn (rtx insn, FILE *file, int optimize_p 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;