This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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"?

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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]