Commit 18c33e03 by Andreas Schwab Committed by Andreas Schwab

re PR rtl-optimization/46395 (FAIL: 22_locale/numpunct/members/pod/2.cc execution test)

PR rtl-optimization/46395
* gcc/postreload.c (reload_combine): Invalidate register use
information on all control flow insns.

From-SVN: r166820
parent 651a20b5
2010-11-16 Andreas Schwab <schwab@linux-m68k.org>
PR rtl-optimization/46395
* postreload.c (reload_combine): Invalidate register use
information on all control flow insns.
* config/m68k/m68k.c (m68k_delegitimize_address): Also expect
LABEL_REF in UNSPEC operand.
......@@ -1354,8 +1354,8 @@ reload_combine (void)
}
}
else if (JUMP_P (insn)
&& GET_CODE (PATTERN (insn)) != RETURN)
if (control_flow_insn_p (insn) && GET_CODE (PATTERN (insn)) != RETURN)
{
/* Non-spill registers might be used at the call destination in
some unknown fashion, so we have to mark the unknown use. */
......
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