This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: cause of all the mainline Sparc regressions
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"?
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.
r~