split_edge, reg-stack and function.c fix

Richard Henderson rth@cygnus.com
Tue Jan 4 21:14:00 GMT 2000


On Tue, Jan 04, 2000 at 06:41:41PM -0700, Jeffrey A Law wrote:
>   > The new backend is not prepared for this step yet and splitting after
>   > reg-stack causes lossage (it was OK for old backend, because it didn't
>   >  defined lenght attribute).
> Can you please explain why?  Something is rather broken if moving the
> branch shortening pass to its proper place is causing the tree to stop
> working.

Because branch shortening also does splitting.  And if we split
we lose or misplace death notes, which of course ruins the work
reg-stack does.

The proper solution is to move all splitting out of all passes
and have it called at its proper place in rest_of_compilation.



r~


More information about the Gcc-patches mailing list