------- Comment #2 from dominiq at lps dot ens dot fr 2007-11-12 10:22 ------- Looking at the test results, the failures seem to happen only on a Core2Duo Darwin8 (may be only my build). They require both -O(2-3) and -funroll(-all)-loops. I have also compared the results of -fdump-tree-optimized with -O2 -funroll-loops and with
-O1 -funroll-loops -ftree-pre -ftree-vrp -fschedule-insns -fschedule-insns2 -fstrict-aliasing -fgcse --param max-aliased-vops=500 -fgcse-lm -falign-loops -falign-jumps -falign-functions -fregmove -freorder-blocks -freorder-functions -frerun-cse-after-loop -fsched-interblock -fsched-spec -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -foptimize-sibling-calls -fpeephole2 -fexpensive-optimizations -fdelete-null-pointer-checks -fstrict-overflow -fcrossjumping -fcaller-saves -falign-labels (according the manual the later (no abort) should be equivalent to the former (abort), but is not) and there is no difference. However the assembly codes are quite differents. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34067