From ee138cf89aa1727f2d1d5994a3b7261e83487501 Mon Sep 17 00:00:00 2001 From: Clinton Popetz Date: Tue, 11 Jul 2000 22:08:47 +0000 Subject: [PATCH] gensupport.c (process_rtx): Make rtl checking stop complaining about the define_insn while it is being... * gensupport.c (process_rtx): Make rtl checking stop complaining about the define_insn while it is being converted from a define_insn_and_split. From-SVN: r34968 --- gcc/ChangeLog | 6 ++++++ gcc/gensupport.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 506e7bb53381..fb411c7a2ddb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Tue Jul 11 15:28:21 CDT 2000 Clinton Popetz + + * gensupport.c (process_rtx): Make rtl checking stop + complaining about the define_insn while it is being + converted from a define_insn_and_split. + Tue Jul 11 16:26:17 2000 Clinton Popetz * config/mips/mips.c (simple_memory_operand): Access the diff --git a/gcc/gensupport.c b/gcc/gensupport.c index f25b80026ebd..44bd3f2e9a42 100644 --- a/gcc/gensupport.c +++ b/gcc/gensupport.c @@ -173,7 +173,7 @@ process_rtx (desc, lineno) case DEFINE_INSN_AND_SPLIT: { const char *split_cond; - rtx split; + rtx split, attr; int i; /* Create a split with values from the insn_and_split. */ @@ -208,8 +208,9 @@ process_rtx (desc, lineno) XSTR (split, 3) = XSTR (desc, 6); /* Fix up the DEFINE_INSN. */ + attr = XVEC (desc, 7); PUT_CODE (desc, DEFINE_INSN); - XVEC (desc, 4) = XVEC (desc, 7); + XVEC (desc, 4) = attr; /* Queue them. */ queue_pattern (desc, &define_insn_tail, lineno);