summaryrefslogtreecommitdiff
path: root/gcc/genconfig.c
diff options
context:
space:
mode:
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-12 14:09:26 +0000
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-12 14:09:26 +0000
commitec52b33c3939a4f79048c83de5d6e7c8876194c0 (patch)
treedd0c7a52d22d1a697969704cb3a729878380885c /gcc/genconfig.c
parentaacabe00000ad5549cf17b8b9ff40d4f14a8726d (diff)
downloadgcc-ec52b33c3939a4f79048c83de5d6e7c8876194c0.tar.gz
* genconfig.c (walk_insn_part): Look at match_dups inside a label_ref.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90530 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genconfig.c')
-rw-r--r--gcc/genconfig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/genconfig.c b/gcc/genconfig.c
index 6f77e984c27..1cceb041dfd 100644
--- a/gcc/genconfig.c
+++ b/gcc/genconfig.c
@@ -98,7 +98,8 @@ walk_insn_part (rtx part, int recog_p, int non_pc_set_src)
break;
case LABEL_REF:
- if (GET_CODE (XEXP (part, 0)) == MATCH_OPERAND)
+ if (GET_CODE (XEXP (part, 0)) == MATCH_OPERAND
+ || GET_CODE (XEXP (part, 0)) == MATCH_DUP)
break;
return;