cause of all the mainline Sparc regressions
Jan Hubicka
jh@suse.cz
Thu May 23 10:02:00 GMT 2002
> On Thu, May 23, 2002 at 04:23:07PM +0200, Jan Hubicka wrote:
> > Hmm, unless I am mistaken, only purpose for finish_eh_gneration to
> > cleanup cfg is to kill unreachable code. I guess in that case, it would
> > be better to dirrectly call delete_unreachable_blocks and since this is
> > already done, perhaps we don't need anything.
>
> What do you mean "this is already done"?
delete_unrechable_blocks is now unconditonally called before doing the
INSN_NOTE_PROBABILITY lowering pass, so there is no need to re-cleanup
the cfg when eh code is invoked I blieve.
>
> I think it makes the most sense to have rest_of_compilation set
> a global variable that has CLEANUP_PRE_SIBCALL, CLEANUP_PRE_LOOP,
> CLEANUP_POST_REGSTACK, and whatever new one Dave needs. Then
> cleanup_cfg or's that into the mode that it is given.
Hmm, I original had global variable to control these, perhaps re-adding
it makes sense.
Honza
>
>
> r~
More information about the Gcc-bugs
mailing list