From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11933 invoked by alias); 9 Jan 2003 06:36:00 -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 11915 invoked by uid 71); 9 Jan 2003 06:36:00 -0000 Resent-Date: 9 Jan 2003 06:36:00 -0000 Resent-Message-ID: <20030109063600.11914.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, pinskia@physics.uc.edu Received: (qmail 11504 invoked by uid 61); 9 Jan 2003 06:34:10 -0000 Message-Id: <20030109063410.11503.qmail@sources.redhat.com> Date: Thu, 09 Jan 2003 06:36:00 -0000 From: pinskia@physics.uc.edu Reply-To: pinskia@physics.uc.edu To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: debug/9239: test in gdb ice on debug code while compling X-SW-Source: 2003-01/txt/msg00586.txt.bz2 List-Id: >Number: 9239 >Category: debug >Synopsis: test in gdb ice on debug code while compling >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Jan 08 22:36:00 PST 2003 >Closed-Date: >Last-Modified: >Originator: Andrew Pinski >Release: gcc version 3.4 20030108 (experimental) >Organization: >Environment: Reading specs from /home/gates/pinskia/linux/lib/gcc-lib/i686-pc-linux-gnu/3.4/specs Configured with: Thread model: posix gcc version 3.4 20030108 (experimental) >Description: g++ ice on when compiling anon-union.cc in gdb test suite, g++ anon-union.cc -g -lm gdb compile failed, /home/gates/pinskia/src/gnu/combinesources/src/gdb/testsuite/gdb.c++/anon-union.cc: In function `int main()': /home/gates/pinskia/src/gnu/combinesources/src/gdb/testsuite/gdb.c++/anon-union.cc:55: internal compiler error: in gen_decl_die, at dwarf2out.c:11974 >How-To-Repeat: struct Foo { union { int zero; } num1; struct X { int rock; unsigned int rock2; }; union { int pebble; X x; union { int qux; unsigned int mux; }; unsigned int boulder; }; union { int paper; unsigned int cloth; }; union { int two; unsigned int three; } num2; }; union Bar { int x; unsigned int y; }; int main() { Foo foo = {0, 0}; foo.paper = 33; foo.pebble = 44; foo.mux = 55; Bar bar = {0}; union { int z; unsigned int w; }; w = 0; bar.x = 33; w = 45; } >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted: