summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-07 19:02:36 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-07 19:02:36 +0000
commitc918d62e2bf8b5e6448f7cb13f9c89959a2e53ff (patch)
treeb94dccabd29e01b1971b51ed66b45050e06dfdc3
parent4e24316139daa49d3657fc75ff6157a17fcf8872 (diff)
downloadppe42-gcc-c918d62e2bf8b5e6448f7cb13f9c89959a2e53ff.tar.gz
ppe42-gcc-c918d62e2bf8b5e6448f7cb13f9c89959a2e53ff.zip
* genrecog.c (add_to_sequence): Disable mode check for
wildcard matches. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29857 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/genrecog.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cc4abc1bb2a..06bebfcb6cb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
+
+ * genrecog.c (add_to_sequence): Disable mode check for
+ wildcard matches.
+
Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* ggc-simple.c (init_ggc): Set empty_string.
diff --git a/gcc/genrecog.c b/gcc/genrecog.c
index c3172f5a68b..bcab2e3698c 100644
--- a/gcc/genrecog.c
+++ b/gcc/genrecog.c
@@ -478,6 +478,12 @@ add_to_sequence (pattern, last, position, insn_type, top)
#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);
OpenPOWER on IntegriCloud