This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12230] New: Internal compiler error in size_binop
- From: "masoud at email dot arc dot nasa dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Sep 2003 00:24:51 -0000
- Subject: [Bug c++/12230] New: Internal compiler error in size_binop
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12230
Summary: Internal compiler error in size_binop
Product: gcc
Version: 3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: masoud at email dot arc dot nasa dot gov
CC: gcc-bugs at gcc dot gnu dot org
I came across the following bug:
* The preprocessed file (*.i*) that triggers the bug, generated by adding
-save-temps to the complete compilation command.
$ more test.ii
# 1 "test.cpp"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "test.cpp"
int (*pai)[3] = new (int[]);
* The complete command line that triggers the bug:
$ gcc -save-temps test.cpp
* The compiler output (error messages, warnings, etc.):
test.cpp:1: Internal compiler error in size_binop, at fold-const.c:2014
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
* The exact version of GCC and the options given when GCC was configured/built:
Configured with: /netrel/src/gcc-3.2-3/configure
--enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posix
--with-system-zlib --enable-nls --without-included-gettext --enable-interpreter
--disable-sjlj-exceptions --disable-version-specific-runtime-libs
--enable-shared --build=i686-pc-linux --host=i686-pc-cygwin
--target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr
--sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include
--libexecdir=/usr/sbin
Thread model: posix
gcc version 3.2 20020927 (prerelease)
* OS: Windows 2000, Version 5.00.2195, Service Pack 3
* Computer: Intel(R) XEON(TM) CPU 2.20GHz