aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorClinton Popetz <cpopetz@cygnus.com>2000-07-11 22:08:47 +0000
committerClinton Popetz <cpopetz@gcc.gnu.org>2000-07-11 18:08:47 -0400
commitee138cf89aa1727f2d1d5994a3b7261e83487501 (patch)
treed596db7fac43329572578b5f05afb3714358dfce /gcc
parentc0ed1dea3732c4975a249987c0ac7833fc16d48c (diff)
downloadgcc-ee138cf89aa1727f2d1d5994a3b7261e83487501.zip
gcc-ee138cf89aa1727f2d1d5994a3b7261e83487501.tar.gz
gcc-ee138cf89aa1727f2d1d5994a3b7261e83487501.tar.bz2
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
Diffstat (limited to 'gcc')
-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 506e7bb..fb411c7 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 f25b800..44bd3f2 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);