From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16023 invoked by alias); 6 Mar 2004 05:26:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 16016 invoked by alias); 6 Mar 2004 05:26:31 -0000 Date: Sat, 06 Mar 2004 05:26:00 -0000 From: "gcc-bugzilla at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20040306052629.14457.namsh@kldp.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/14457] New: ICE with simple c++ source X-Bugzilla-Reason: CC X-SW-Source: 2004-03/txt/msg00787.txt.bz2 List-Id: 3.4.0 20040303 generates ICE. But 3.4.0 20040227 work fine. Environment: System: Linux namsh 2.6.4-rc2 #63 Thu Mar 4 21:18:27 KST 2004 i686 athlon i386 GNU/Linux Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: m6811-unknown-none configured with: ../configure --disable-nls --target=m6811-elf --prefix=/usr/GNUHCS --program-prefix=m6811-elf- --with-gnu-ld --with-gnu-as --disable-shared --enable-languages=c,c++ --without-headers --with-newlib How-To-Repeat: Just do 'm6811-elf-g++ -o tmp.o -c t.cpp -m68hc12'. The t.ii is: # 1 "t.cpp" # 1 "" # 1 "" # 1 "t.cpp" class CKMCLink { public: void LinkDelete(CKMCLink**); private: CKMCLink *m_prev; }; void CKMCLink::LinkDelete(CKMCLink **head) { if (m_prev == this) { *head = 0; } } ------- Additional Comments From namsh at kldp dot org 2004-03-06 05:26 ------- Fix: If I do 'm6811-elf-g++ -o tmp.o -c t.cpp -m68hc11'. No ICE. If I use m6811-elf-g++ 3.4.0 20040227 with -m68hc12, No ICE. -- Summary: ICE with simple c++ source Product: gcc Version: 3.4 Status: UNCONFIRMED Severity: critical Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: namsh at kldp dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: m6811-unknown-none http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14457