[Bug c++/40365] g++ template expansion bug

oleg_dolomanov at hotmail dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 9 15:04:00 GMT 2009



------- Comment #2 from oleg_dolomanov at hotmail dot com  2009-06-09 15:04 -------
This is the version info:

oleg@Q4:/work/olex/svn/olex2/trunk> g++ -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3
--enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/
--with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap
--with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --program-suffix=-4.3
--enable-linux-futex --without-system-libunwind --with-cpu=generic
--build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) 

and command line and error (fails on random functions):


scons: Building targets ...
g++ -o build/scons/release/generic/sfutil.o -c -D__WXWIDGETS__ -D_UNICODE
-DUNICODE -pthread -exceptions -O3 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D__WXGTK__ -Ialglib -Isdl -Iglib -Igxlib -Irepository -Ixlib
-I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-I/usr/include/python2.6 xlib/sfutil.cpp
xlib/sfutil.h: In member function ‘void xlib::SF_Util<sg>::Calculate(double,
const xlib::TRefList&, const esdl::mat3d&,
esdl::TArrayList<esdl::TEComplex<double> >&, const
esdl::TPtrList<xlib::cm_Element>&, const xlib::TCAtomPList&, const double*,
bool) const [with sg = xlib::FastSG_P2_a]Â’:
xlib/sfutil.h:249: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40365



More information about the Gcc-bugs mailing list