RTL table initialization at compile time

Zack Weinberg zack@bitmover.com
Tue Aug 31 22:41:00 GMT 1999


Richard Henderson wrote:
> On Fri, Aug 27, 1999 at 09:29:22AM -0700, Zack Weinberg wrote:
> > Everything currently being done in init_rtl() can be done at compile
> > time, and therefore all the tables in rtl.c can be marked const.
> 
> Ok.

Committed.  Thanks for the quick turnaround.

It might be interesting to see if similar things could be done with
the other initialization routines, particularly the regclass and optab
tables.  Some of the regclass stuff can be affected by command line
options, and the optabs have pointers to RTL in them, so the task
isn't as simple as it was for rtl.c.

zw



More information about the Gcc-patches mailing list