Description of problem: Internal compiler error with -ftree-vectorize Version-Release number of selected component (if applicable): gcc-4.0.2-8.fc4 How reproducible: Every time Steps to Reproduce: 1. Compiler buffer.c from XEmacs 21.5 CVS with CFLAGS="-ftree-vectorize -O2 -march=pentium4" 2. The compiler reports an internal compiler error Actual results: The compiler reports an internal compiler error Expected results: The compiler should produce an object file Additional info: The ICE occurs with both -march=pentium4 and -march=prescott. It does not happen with -march=pentium3. It does not happen with -O1. It does not happen if -free-vectorize is omitted.
Created attachment 125823 [details] Preprocessed source demonstrating the compiler bug
-ftree-vectorize in GCC 4 is very new and not in a very good shape, use GCC 4.1+ if you need it, or omit -ftree-vectorize. I have verified that FC5 gcc-4.1.0-3 doesn't ICE on this.