[PATCH] configuration support for rtl flag checking

Janis Johnson janis187@us.ibm.com
Tue May 7 16:22:00 GMT 2002


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



More information about the Gcc-patches mailing list