ICE on what I believe to be valid code. I've seen this happen on
all 4.3.x variants I've tired, but works fine with earlier versions gcc. The
error disappears when optimisation is not used. The following is the setup
I've used for the report:
'g++ -v' gives:
Using built-in specs. Target: i686-apple-darwin9 Configured with:
../gcc-4.3.2/configure --prefix=/sw --prefix=/sw/lib/gcc4.3
--mandir=/sw/share/man --infodir=/sw/share/info
--enable-languages=c,c++,fortran,objc,java --with-arch=nocona
--with-tune=generic --build=i686-apple-darwin9 --with-gmp=/sw
--with-libiconv-prefix=/sw --with-system-zlib
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--disable-libjava-multilib Thread model: posix gcc version 4.3.2 (GCC)
Command line:
g++-4 -c -O testBugE.cc
Error message:
Users/charlesgalambos/src/active/Ravl/Core/Container/Buffer/SingleBuffer.hh:
In static member function static RavlN::SingleBufferBodyC*
RavlN::SingleBufferC::AllocBody(RavlN::SizeT) [with DataT =
TestObjC]:
/Users/charlesgalambos/src/active/Ravl/Core/Container/Buffer/SingleBuffer.hh:217:
internal compiler error: Bus error Please submit a full bug report,
(I assume bugzilla will give me a chance to submit an attachment when
I've committed the report ??)
--
Summary: ICE on valid code.
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: c dot galambos at omniperception dot com
GCC build triplet: i686-apple-darwin9
GCC host triplet: i686-apple-darwin9
GCC target triplet: i686-apple-darwin9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38072