Potential bug in stmt.c (expand_value_return)

Richard Henderson rth@cygnus.com
Wed Feb 2 14:55:00 GMT 2000


On Wed, Feb 02, 2000 at 10:30:51PM +0000, Joern Rennecke wrote:
> I can't search through the whole compiler now, but I know that
> reload_combine needs it, and the register scavenging for out-of
> range branchs on the sh (config/sh/sh.c:gen_block_redirect).
> 
> USEs are also much easier to digest for peepholes than looking into
> a global array when you hit a return insn.

Anything post flow2 can use resource.c's find_free_register.
Nothing could be easier than that.

For reload_combine ... I dunno.  Probably all that code *should*
be moved after flow2.  It would reduce the amount of hackery
involved in some of the guessing games.

*sigh*  I guess I have to put the use back until these things
are fixed properly.


r~


More information about the Gcc mailing list