------- Comment #7 from fredrik dot svahn at gmail dot com  2010-01-06 23:00 
-------
Summary:
The patch works great when building gcc from trunk (revision 155680). Both
supplied test program and real application are optimized.

With gcc-4.4.2 I get the optimization for the test program only with e.g.
-march=athlon64 or -mtune=native (which is an improvement, previously I could
not get it to work even with these options). Without -mtune/-march optimization
seems to bail out on the following check in
bb-reorder.c@@duplicate_computed_gotos(void):

      /* Obviously the block has to end in a computed jump.  */
      if (!computed_jump_p (BB_END (bb)))
        continue;

I assume the patch was written for 4.5 so maybe testing it on 4.4.2 is a bit
premature. Hope it helps anyway.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42621

Reply via email to