From 63b6b8450cedae2d7779003afc544537b9d67218 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 11 Jun 1993 21:43:05 -0400 Subject: [PATCH] (constrain_operands): Correctly ignore MATCH_OPERATOR operands. From-SVN: r4664 --- gcc/recog.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/recog.c b/gcc/recog.c index 6c869d9..2232db2 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -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])) -- 2.7.4