re PR target/38991 (SH: ICE in extract_insn at recog.c:1990)

PR target/38991
	* config/sh/predicates.md (general_movsrc_operand): Don't check
	the subreg of system registers here.

From-SVN: r143978
This commit is contained in:
Kaz Kojima 2009-02-06 00:29:03 +00:00
parent e25e4088b9
commit 6d39673dce
2 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2009-02-05 Kaz Kojima <kkojima@gcc.gnu.org>
PR target/38991
* config/sh/predicates.md (general_movsrc_operand): Don't check
the subreg of system registers here.
2009-02-05 Jakub Jelinek <jakub@redhat.com>
PR c++/39106

View File

@ -1,5 +1,5 @@
;; Predicate definitions for Renesas / SuperH SH.
;; Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
;; Copyright (C) 2005, 2006, 2007, 2009 Free Software Foundation, Inc.
;;
;; This file is part of GCC.
;;
@ -392,12 +392,6 @@
return 0;
}
if ((mode == QImode || mode == HImode)
&& (GET_CODE (op) == SUBREG
&& GET_CODE (XEXP (op, 0)) == REG
&& system_reg_operand (XEXP (op, 0), mode)))
return 0;
if (TARGET_SHMEDIA
&& (GET_CODE (op) == PARALLEL || GET_CODE (op) == CONST_VECTOR)
&& sh_rep_vec (op, mode))