------- Comment #10 from ubizjak at gmail dot com 2007-06-28 09:20 ------- Well, well - what can be found in _.146r.loop_unroll:
Loop 10 is simple: simple exit 40 -> 42 number of iterations: (const_int 8 [0x8]) upper bound: 8 ;; Unable to prove that the loop rolls exactly once ;; Considering peeling completely ;; Not peeling loop completely, rolls too much (8 iterations > 8 [maximum peelings]) Really funny... Since when is "8 more than 8"? ;( However, gcc has no problems when unrolling without --ftree-vectorize: Loop 8 is simple: simple exit 28 -> 30 number of iterations: (const_int 8 [0x8]) upper bound: 8 ;; Unable to prove that the loop rolls exactly once ;; Considering peeling completely ;; Decided to peel loop completely Investigating... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32084