diff options
author | Clinton Popetz <cpopetz@cygnus.com> | 2000-07-11 22:08:47 +0000 |
---|---|---|
committer | Clinton Popetz <cpopetz@gcc.gnu.org> | 2000-07-11 18:08:47 -0400 |
commit | ee138cf89aa1727f2d1d5994a3b7261e83487501 (patch) | |
tree | d596db7fac43329572578b5f05afb3714358dfce /gcc/gensupport.c | |
parent | c0ed1dea3732c4975a249987c0ac7833fc16d48c (diff) | |
download | gcc-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/gensupport.c')
-rw-r--r-- | gcc/gensupport.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); |