aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/fr30
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-02-04 13:42:26 +0000
committerNick Clifton <nickc@gcc.gnu.org>2015-02-04 13:42:26 +0000
commit20693e972aeede9d6d337982074f20593a6495bb (patch)
tree3b600a701daa2914ca0b1c3d9d453e933855b9de /gcc/config/fr30
parent4f2ab1e6300b82d1d7a432f1a5dbe148224e48be (diff)
downloadgcc-20693e972aeede9d6d337982074f20593a6495bb.zip
gcc-20693e972aeede9d6d337982074f20593a6495bb.tar.gz
gcc-20693e972aeede9d6d337982074f20593a6495bb.tar.bz2
re PR target/64408 (fr30-elf ICE in extract_insn, at recog.c:2202)
PR target/64408 * config/fr30/predicates.md (di_operand): Add SUBREG to the list of accepted codes. (nonimmediate_di_operand): Likewise. From-SVN: r220400
Diffstat (limited to 'gcc/config/fr30')
-rw-r--r--gcc/config/fr30/predicates.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/fr30/predicates.md b/gcc/config/fr30/predicates.md
index aa4cd58..461b7eb 100644
--- a/gcc/config/fr30/predicates.md
+++ b/gcc/config/fr30/predicates.md
@@ -64,7 +64,7 @@
;; Returns TRUE if OP is a valid operand of a DImode operation.
(define_predicate "di_operand"
- (match_code "const_int,const_double,reg,mem")
+ (match_code "const_int,const_double,reg,subreg,mem")
{
if (register_operand (op, mode))
return TRUE;
@@ -92,7 +92,7 @@
;; Returns TRUE if OP is a DImode register or MEM.
(define_predicate "nonimmediate_di_operand"
- (match_code "reg,mem")
+ (match_code "reg,subreg,mem")
{
if (register_operand (op, mode))
return TRUE;