This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] genrecog.c: Simplify comparisons against small constants in insn-recog.c.
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