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
This commit is contained in:
parent
b1f180d096
commit
3f0d513197
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2014-08-24 Gerald Pfeifer <gerald@pfeifer.com>
|
||||||
|
|
||||||
* doc/invoke.texi (Optimize Options): Fix markup in two cases.
|
* doc/invoke.texi (Optimize Options): Fix markup in two cases.
|
||||||
|
|
|
@ -398,7 +398,7 @@
|
||||||
(define_predicate "general_extend_operand"
|
(define_predicate "general_extend_operand"
|
||||||
(match_code "subreg,reg,mem,truncate")
|
(match_code "subreg,reg,mem,truncate")
|
||||||
{
|
{
|
||||||
if (GET_CODE (op) == TRUNCATE)
|
if (reload_completed && GET_CODE (op) == TRUNCATE)
|
||||||
return arith_operand (op, mode);
|
return arith_operand (op, mode);
|
||||||
|
|
||||||
if (MEM_P (op) || (GET_CODE (op) == SUBREG && MEM_P (SUBREG_REG (op))))
|
if (MEM_P (op) || (GET_CODE (op) == SUBREG && MEM_P (SUBREG_REG (op))))
|
||||||
|
|
Loading…
Reference in New Issue