Commit c6fc44f3 by Jakub Jelinek Committed by Jakub Jelinek

re PR middle-end/48597 (x86-64 unwind register save location misses half-register write?)

	PR middle-end/48597
	* final.c (final_scan_insn): Call dwarf2out_frame_debug even for
	inline asm.

From-SVN: r173120
parent 6c0170ea
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* |
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment