]> gcc.gnu.org Git - gcc.git/commitdiff
(constrain_operands): Correctly ignore MATCH_OPERATOR operands.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 12 Jun 1993 01:43:05 +0000 (21:43 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 12 Jun 1993 01:43:05 +0000 (21:43 -0400)
From-SVN: r4664

gcc/recog.c

index 6c869d9de1d9c0a031dcbce24718272b46c61274..2232db29a1eb65d1c6d48842e8c7770253b66736 100644 (file)
@@ -1,5 +1,5 @@
 /* Subroutines used by or related to instruction recognition.
-   Copyright (C) 1987, 1988, 1991, 1992 Free Software Foundation, Inc.
+   Copyright (C) 1987, 1988, 1991, 1992, 1993 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -1896,7 +1896,8 @@ constrain_operands (insn_code_num, strict)
                  if ((GET_CODE (recog_operand[opno]) == MEM
                       || op_types[opno] != OP_OUT)
                      && opno != eopno
-                     && constraints[opno] != 0
+                     /* Ignore things like match_operator operands. */
+                     && *constraints[opno] != 0
                      && ! (matching_operands[opno] == eopno
                            && rtx_equal_p (recog_operand[opno],
                                            recog_operand[eopno]))
This page took 0.06764 seconds and 5 git commands to generate.