When I compile ace542 with the actual snapshot (20050806) of gcc41 I get an ICE when I use -O3 and autovectorisation.
last working snapshot is: gcc-4.1-20050604 first failing snapshot is: gcc-4.1-20050611 Michael Cieslinski g++41j -O3 -ftree-vectorize -c -o .obj/Reactive_Logging_Server_Ex.o Reactive_Logging_Server_Ex.ii Reactive_Logging_Server_Ex.h: In member function 'virtual int Reactive_Logging_Server_Ex::handle_connections()': Reactive_Logging_Server_Ex.h:54: internal compiler error: in vect_update_ivs_after_vectorizer, at tree-vect-transform.c:2418 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. g++41j -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.1-20050806/configure --prefix=/usr/local/gcc41j --program-suffix=41j --with-arch=opteron --enable-languages=c,c++ --enable-checking Thread model: posix gcc version 4.1.0 20050806 (experimental) -- Summary: ICE in vect_update_ivs_after_vectorizer, at tree-vect- transform.c:2418 Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: micis at gmx dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23350