From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32261 invoked by alias); 9 Jan 2002 14:26:05 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 32218 invoked by uid 71); 9 Jan 2002 14:26:03 -0000 Resent-Date: 9 Jan 2002 14:26:03 -0000 Resent-Message-ID: <20020109142603.32217.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, igusarov@akella.com Received:(qmail 31932 invoked by uid 61); 9 Jan 2002 14:25:20 -0000 Message-Id:<20020109142520.31930.qmail@sources.redhat.com> Date: Wed, 09 Jan 2002 06:26:00 -0000 From: igusarov@akella.com Reply-To: igusarov@akella.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: debug/5335: ICE when DWARF-1 debug info is generated X-SW-Source: 2002-01/txt/msg00381.txt.bz2 List-Id: >Number: 5335 >Category: debug >Synopsis: ICE when DWARF-1 debug info is generated >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Wed Jan 09 06:26:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Igor A. Goussarov >Release: Reading specs from /usr/lib/gcc-lib/i386-unknown-freebsd4.4/3.0.3/specs Configured with: ./configure --prefix=/usr Thread model: posix gcc version 3.0.3 >Organization: >Environment: i386-FreeBSD-4.4-RELEASE >Description: The attached file compiles fine if no debug info is requested or if DWARF-2 debug info is requested. However, compilation with -gdwarf+, -gdwarf+1, gdwarf+2 or -gdwarf+3 switch results in ICE: ../IGusarov/Lists.h:821: Internal compiler error in dwarfout_finish, at dwarfout.c:6532 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. It looks like generating this debug info requires some more templated types (which were a member 'typedefs' in another templated type) to be instantiated and these freshly instantiated types are left in pending_types_list which violates the final assertion in dwarfout_finish and thus lead to abort()... >How-To-Repeat: unpack an archived "TemplateElements_.i" file and run g++ -c -gdwarf+3 TemplateElements_.i >Fix: Don't use dwarf-1 debug format. In fact, I've toyed with various debug info formats and found that 4 out of approx. 120 source files in my current project fails with the same ICE if compiled with one of -gdwarf+[123] >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="TemplateElements_.i.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="TemplateElements_.i.gz"