summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/gensupport.c5
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 506e7bb5338..fb411c7a2dd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+Tue Jul 11 15:28:21 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
+
+ * 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 <cpopetz@cygnus.com>
* config/mips/mips.c (simple_memory_operand): Access the
diff --git a/gcc/gensupport.c b/gcc/gensupport.c
index f25b80026eb..44bd3f2e9a4 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);
OpenPOWER on IntegriCloud