This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH]: Fix regression after switch to predicates.md on HC11 (PR21281)


Hi!

This patch fixes a regression introduced when the HC11/HC12 was switched
to use predicates.md.  Committed on mainline.

Stephane

2005-05-08  Stephane Carrez  <stcarrez@nerim.fr>

	PR target/21281
	* config/m68hc11/predicates.md (splitable_operand): An immediate is
	allowed.

Index: config/m68hc11/predicates.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/m68hc11/predicates.md,v
retrieving revision 1.2
diff -u -p -r1.2 predicates.md
--- config/m68hc11/predicates.md	8 May 2005 19:53:42 -0000	1.2
+++ config/m68hc11/predicates.md	8 May 2005 20:03:33 -0000
@@ -148,7 +148,7 @@
 ;; TODO: Add a comment here.
 
 (define_predicate "splitable_operand"
-  (match_code "subreg,reg,mem")
+  (match_code "subreg,reg,mem,symbol_ref,label_ref,const_int,const_double")
 {
   if (general_operand (op, mode) == 0)
     return 0;

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]