I'm getting an ICE with gcc-4.1-20051001 on the code in attachment. When compiling with: % gcc -O2 -march=pentium3 -ftree-vectorize -c cb_search_pre.c the result is: cb_search.c: In function 'split_cb_search_shape_sign': cb_search.c:268: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
If I remove any of the three optimization switches, the ICE goes away (anything older than pentium3 is also OK for -march). In case it's of any interest, this file is part of the Speex codec. I ogiginally sent an email: http://www.archivum.info/gcc-bugs@gcc.gnu.org/2005-10/msg00545.html but it didn't seem to make it to the database. -- Summary: ICE/segfault on valid code gcc-4.1-20051001 Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jean-marc dot valin at usherbrooke dot ca GCC build triplet: i486-linux-gnu GCC host triplet: i486-linux-gnu GCC target triplet: i486-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24601