X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/blobdiff_plain/6be83391e98c60823f9456911c8397023d3e1dbf..d8f1d01e64e3c6aa23c0904c0b23310a33e418ea:/contrib/gcc-4.4/gcc/final.c diff --git a/contrib/gcc-4.4/gcc/final.c b/contrib/gcc-4.4/gcc/final.c index 1735a73207..c4812eac09 100644 --- a/contrib/gcc-4.4/gcc/final.c +++ b/contrib/gcc-4.4/gcc/final.c @@ -2207,6 +2207,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;