------- Additional Comments From dorit at il dot ibm dot com 2005-05-02 16:27 ------- Thanks for the testcase.
I tried reproducing the problem on i686-pc-linux-gnu with today's snapshot of 4.1, and also with today's snapshot of 4.0 (gcc version 4.0.1 20050502 (prerelease)) - I can't reproduce it with these snapshots. Maybe the problem had already been solved. Just FYI, I get: " pr21274.cc:11: note: Alignment of access forced using peeling. pr21274.cc:11: note: LOOP VECTORIZED. pr21274.cc:26: note: not vectorized: pointer access is not simple. pr21274.cc:26: note: not vectorized: unhandled data ref: *D.1981_38 = 1.0e+0 pr21274.cc:21: note: vectorized 1 loops in function. " Which means we don't try to peel the loop in line 26 anymore (from your report it looks like we used to peel that loop with the snapshot you are using: "crash-4.0.cc:26: note: Alignment of access forced using peeling.crash-4.0.cc") -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21274