This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/24601] New: ICE/segfault on valid code gcc-4.1-20051001
- From: "jean-marc dot valin at usherbrooke dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Oct 2005 23:24:19 -0000
- Subject: [Bug c/24601] New: ICE/segfault on valid code gcc-4.1-20051001
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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