Slowdowns in code generated by GCC>=3.3

Richard Guenther richard.guenther@gmail.com
Wed Oct 20 16:21:00 GMT 2004


On Wed, 20 Oct 2004 16:25:16 +0200, Remko Troncon
<remko.troncon@cs.kuleuven.ac.be> wrote:
> > This looks similar to PR15242 and related bugs.
> 
> It sure does. However, I tried applying the patch to GCC-CVS, and
> recompiled with -O3, but that didn't do anything to my performance :(

I guess you need to specify -fno-crossjumping or -fno-reorder-blocks
(or both) to make it work.  See the patch chunk changing passes.c which
checks for !flag_crossjumping before doing the optimization.

Richard.



More information about the Gcc mailing list