reg_scan info validity during jump

Richard Henderson rth@cygnus.com
Sat Jul 11 01:44:00 GMT 1998


On Sat, Jul 11, 1998 at 01:13:03AM -0600, Jeffrey A Law wrote:
> I think the "slop" entries are so we can grow the tables inexpensively.
> Maybe Meissner could comment on this.

No, the slop was there before valarray.  It existed so that we could 
add a few registers and still be able to do some optimization.

> Anyway I think the better patch is to simply not copy the loop exit
> code if it references a register higher than max_reg_num.  Yes we
> miss some opts, but calling reg_scan like that is very heavyweight.

As I mentioned to Dave, I think the proper solution is to have 
incremental update functions to call, a-la record_base_value.


r~



More information about the Gcc-patches mailing list