PR target/62111
* config/sh/predicates.md (general_extend_operand): Disable
TRUNCATE before reload completes.
From-SVN: r214413
+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.
(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))))