diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-06-11 21:43:05 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-06-11 21:43:05 -0400 |
commit | 63b6b8450cedae2d7779003afc544537b9d67218 (patch) | |
tree | 2d4243bb060836ba086984130d648e9f3623580d /gcc/recog.c | |
parent | 922d9d40d1932088a59f6ab9370363dce5feb121 (diff) | |
download | gcc-63b6b8450cedae2d7779003afc544537b9d67218.zip gcc-63b6b8450cedae2d7779003afc544537b9d67218.tar.gz gcc-63b6b8450cedae2d7779003afc544537b9d67218.tar.bz2 |
(constrain_operands): Correctly ignore MATCH_OPERATOR operands.
From-SVN: r4664
Diffstat (limited to 'gcc/recog.c')
-rw-r--r-- | gcc/recog.c | 5 |
1 files 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])) |