From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29724 invoked by alias); 10 Jan 2005 21:39:27 -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 29668 invoked by alias); 10 Jan 2005 21:39:21 -0000 Date: Mon, 10 Jan 2005 21:39:00 -0000 From: "gcc-bugzilla at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20050110213919.19367.snyder@fnal.gov> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/19367] New: 4.0: ICE: tree_check in lookup_local_die with local `using' X-Bugzilla-Reason: CC X-SW-Source: 2005-01/txt/msg01286.txt.bz2 List-Id: g++ dies with a tree check ICE when the source below is compiled with -g: $ cc1plus -g x.cc void foo() x.cc:6: internal compiler error: tree check: expected class 'declaration', have 'exceptional' (@@dummy) in lookup_decl_die, at dwarf2out.c:5415 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. $ Environment: System: Linux karma 2.6.8.1 #20 Mon Sep 13 23:48:47 EDT 2004 i686 i686 i386 GNU/Linux Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: /home/sss/gcc/gcc/configure --prefix=/usr/local/gcc --enable-threads=posix --enable-long-long --enable-languages=c,c++,f95 How-To-Repeat: Compile with -g: ---------------------------------------- int toupper (int); namespace std { using ::toupper; } void foo() { using std::toupper; } ---------------------------------------- ------- Additional Comments From snyder at fnal dot gov 2005-01-10 21:39 ------- Fix: -- Summary: 4.0: ICE: tree_check in lookup_local_die with local `using' Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: critical Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: snyder at fnal dot gov 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: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19367