This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34750] New: ICE in fold_convert, at fold-const.c:1955
- From: "timj at gtk dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2008 15:28:28 -0000
- Subject: [Bug c++/34750] New: ICE in fold_convert, at fold-const.c:1955
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
compiling gccfolderr.cc like this:
g++-4.1 -g -Wall -Wdeprecated -Wno-cast-qual -pipe -O2 -ftracer \
-finline-functions -fno-keep-static-consts gccfolderr.cc
yields:
gccfolderr.cc: In function ?void<unnamed>::test_array()?:
gccfolderr.cc:34571: internal compiler error: in fold_convert, at \
fold-const.c:1955
compiling it without options still results in an ICE:
g++-4.1 gccfolderr.cc
albeit a different one:
gccfolderr.cc:34571: internal compiler error: in cp_expr_size, at \
cp/cp-objcp-common.c:101
gcc version details (etch x86):
$ g++-4.1 --version
g++-4.1 (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
compressed preprocessor file follows.
--
Summary: ICE in fold_convert, at fold-const.c:1955
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: timj at gtk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34750