This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13530] New: internal compiler error: Segmentation fault
- From: "rwgk at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Dec 2003 07:51:29 -0000
- Subject: [Bug c++/13530] New: internal compiler error: Segmentation fault
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gcc snapshot from 2003/12/30, ca. 7:40am PST
Configured with: ../gcc/configure --prefix=/usr/local_cci/gcc_cvs_2003_12_30 --
enable-languages=c,c++
Redhat Linux 8.0
g++ -fPIC -ftemplate-depth-120 -w -DNDEBUG -O3 -DBOOST_PYTHON_MAX_BASES=2 -
DBOOST_PYTHON_SOURCE -I/net/worm/scratch1/rwgk/hot/boost -
I/usr/include/python2.2 -
E /net/worm/scratch1/rwgk/hot/boost/libs/python/src/converter/builtin_converters
.cpp > builtin_converters_pp.cpp
g++ -fPIC -ftemplate-depth-120 -w -O3 builtin_converters_pp.cpp
In file included
from /net/worm/scratch1/rwgk/hot/boost/libs/python/src/converter/builtin_convert
ers.cpp:16:
/net/worm/scratch1/rwgk/hot/boost/boost/python/converter/rvalue_from_python_data
.hpp:100: 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.
The same code works with many other compilers incl. earlier gcc's.
The error goes away if this line is commented out:
BOOST_STATIC_ASSERT(BOOST_PYTHON_OFFSETOF(rvalue_from_python_storage<T>,stage1)
== 0);
I will attach the preprocessed source. It is also available here:
http://cci.lbl.gov/~rwgk/bugs/gcc340/builtin_converters_pp.cpp
The full source code (complete boost tree) is also available:
http://cci.lbl.gov/~rwgk/bugs/gcc340/boost_2003_12_30_2345.tar.gz
--
Summary: internal compiler error: Segmentation fault
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rwgk at yahoo dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: g++ (GCC) 3.4.0 20031230 (experimental)
GCC host triplet: i686-gnu-linux
GCC target triplet: i686-gnu-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13530