This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] configuration support for rtl flag checking
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Richard Henderson <rth at redhat dot com>, Janis Johnson <janis187 at us dot ibm dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 7 May 2002 15:53:26 -0700
- Subject: Re: [PATCH] configuration support for rtl flag checking
- References: <20020506162651.A15804@us.ibm.com> <20020507134408.A14253@redhat.com>
On Tue, May 07, 2002 at 01:44:08PM -0700, Richard Henderson wrote:
> On Mon, May 06, 2002 at 04:26:51PM -0700, Janis Johnson wrote:
> > - RTL flag checking should be enabled by default when building from
> > CVS and snapshots, but do we want to turn it on now or give people
> > a chance to flush out unexpected flag usage first?
>
> Turn it on now.
>
> > - Should I submit the changes to rebuilt configure, or does someone
> > else rebuild and commit it?
>
> You rebuild and commit it, but never submit patches for it.
>
> > + flag) ac_flag_checking=1 ;;
>
> I'd prefer rtlflag. Otherwise ok.
>
OK, I've commited the patch, plus a rebuilt gcc/configure, with "flag"
changed to "rtlflag".
It's quite possible that this will break some builds or tests with
messages like the following, which was forced by removing REG from the
list for RTX_UNCHANGING_P:
../../gcc-mainline/gcc/crtstuff.c:263: RTL flag check: access macro
used with unexpected rtx code `reg' in get_subtarget, at expr.c:3615
Please submit a full bug report,
with preprocessed source if appropriate.
Janis