Commit 3f0d5131 by Kaz Kojima

re PR target/62111 (ICE when building Linux kernel for sh64)

	PR target/62111
	* config/sh/predicates.md (general_extend_operand): Disable
	TRUNCATE before reload completes.

From-SVN: r214413
parent b1f180d0
2014-08-25 Kaz Kojima <kkojima@gcc.gnu.org>
PR target/62111
* config/sh/predicates.md (general_extend_operand): Disable
TRUNCATE before reload completes.
2014-08-24 Gerald Pfeifer <gerald@pfeifer.com>
* doc/invoke.texi (Optimize Options): Fix markup in two cases.
......
......@@ -398,7 +398,7 @@
(define_predicate "general_extend_operand"
(match_code "subreg,reg,mem,truncate")
{
if (GET_CODE (op) == TRUNCATE)
if (reload_completed && GET_CODE (op) == TRUNCATE)
return arith_operand (op, mode);
if (MEM_P (op) || (GET_CODE (op) == SUBREG && MEM_P (SUBREG_REG (op))))
......
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