From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29299 invoked by alias); 10 Nov 2008 17:37:53 -0000 Received: (qmail 22152 invoked by uid 48); 10 Nov 2008 17:36:42 -0000 Date: Mon, 10 Nov 2008 17:37:00 -0000 Subject: [Bug c++/38072] New: ICE on valid code. X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "c dot galambos at omniperception dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-11/txt/msg00732.txt.bz2 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