This is the mail archive of the gcc@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: optimization/6007: cfg cleanup tremendous performance hog with -O1


> 
> On Thu, Apr 04, 2002 at 09:56:49AM -0500, Brad Lucier wrote:
> > I've looked at cfgcleanup.c and don't really know how to proceed.  Can
> > someone suggest a reasonable way to fix this?
> 
> How about stealing an idea from gcse_main.
...

Thank you.

I've tested this on sparcv9-sun-solaris2.8 (sans libgcj and ada) and
there were no regressions.  This also fixes my particular problem with
long execution times.  I suggest that it be added to the 3.1 branch because
it fixes the problem, but I think a more long-term solution (like ignoring
branches from computed gotos) be applied to the 3.2 trunk later.

Brad


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