This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: buglet in preprocess_constraints
- To: richard dot earnshaw at arm dot com
- Subject: Re: buglet in preprocess_constraints
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 04 Aug 1999 02:55:19 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <199908021042.LAA10762@sun52.NIS.cambridge>you write:
> Some code I've been developing for the ARM is greatly simplified by calling
> preprocess_constraints(), but there is a problem in this code that several
> of the attributes that it sets (eg memory_ok, decmem_ok, ...) are never
> cleared from previous invocations. This patch fixes that by bzero-ing the
> whole structure before processing the insn.
>
> Is this ok to install?
>
> <date> Richard Earnshaw (rearnsha@arm.com)
>
> * recog.c (preproces_constraints): Zero recog_op_alt before
> processing the constraints.
This is fine. Please install it.
Thanks,
jeff