diff options
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/genrecog.c | 10 |
2 files changed, 9 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b342fd7..ec345e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +Fri Dec 15 14:48:37 MET 2000 Jan Hubicka <jh@suse.cz> + + * genrecog.c (add_to_sequence): Remove special case for + const_int_operand. + (maybe_both_true): Return 1 when falling out of sequence when + trying to find common possition in the pattern. + Fri Dec 15 14:44:51 MET 2000 Jan Hubicka <jh@suse.cz> * integrate.c (copy_rtx_and_substitute): Copy mode too. diff --git a/gcc/genrecog.c b/gcc/genrecog.c index 795d521..8146b71 100644 --- a/gcc/genrecog.c +++ b/gcc/genrecog.c @@ -826,13 +826,7 @@ add_to_sequence (pattern, last, position, insn_type, top) code = UNKNOWN; } - /* We know exactly what const_int_operand matches -- any CONST_INT. */ - if (strcmp ("const_int_operand", pred_name) == 0) - { - code = CONST_INT; - mode = VOIDmode; - } - else if (pred_name[0] != 0) + if (pred_name[0] != 0) { test = new_decision_test (DT_pred, &place); test->u.pred.name = pred_name; @@ -1206,7 +1200,7 @@ maybe_both_true (d1, d2, toplevel) p1 = d1, d1 = d2, d2 = p1; if (d1->success.first == 0) - return 0; + return 1; for (p1 = d1->success.first; p1; p1 = p1->next) if (maybe_both_true (p1, d2, 0)) return 1; |