genrecog tweek
Richard Henderson
rth@cygnus.com
Thu Oct 7 12:03:00 GMT 1999
Exposed by Bernd wrt the thumb port.
r~
* genrecog.c (add_to_sequence): Disable mode check for
wildcard matches.
Index: genrecog.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/genrecog.c,v
retrieving revision 1.55
diff -c -p -d -r1.55 genrecog.c
*** genrecog.c 1999/10/06 19:24:28 1.55
--- genrecog.c 1999/10/07 19:00:37
*************** add_to_sequence (pattern, last, position
*** 478,483 ****
--- 478,489 ----
#endif
}
}
+ else
+ {
+ /* Wildcard match. Can't enforce a mode because we allow
+ anything -- const_int included. */
+ mode = VOIDmode;
+ }
/* Accept the operand, ie. record it in `operands'. */
test = new_decision_test (DT_accept_op, &place);
More information about the Gcc-patches
mailing list