[patch] genrecog.c: Simplify comparisons against small constants in insn-recog.c.

Ian Lance Taylor ian@wasabisystems.com
Sat Jan 31 00:42:00 GMT 2004


Richard Henderson <rth@redhat.com> writes:

> > It would also be nice if we could somehow mark the const_int_rtx array
> > as const or unchanging once initialized?
> 
> I can't think of any way.

Well, is just an array of struct rtx_def, and CONST_INT does have only
one field, so I suppose you could just statically initialize a const
array....

Ian



More information about the Gcc-patches mailing list