From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32210 invoked by alias); 19 May 2003 14:46:02 -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 32144 invoked by uid 71); 19 May 2003 14:46:01 -0000 Resent-Date: 19 May 2003 14:46:01 -0000 Resent-Message-ID: <20030519144601.32143.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, bangerth@dealii.org Received: (qmail 21006 invoked by uid 48); 19 May 2003 14:41:46 -0000 Message-Id: <20030519144146.21005.qmail@sources.redhat.com> Date: Mon, 19 May 2003 14:46:00 -0000 From: bangerth@dealii.org Reply-To: bangerth@dealii.org To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: optimization/10861: [tree-ssa] ICE in assign_var X-SW-Source: 2003-05/txt/msg02085.txt.bz2 List-Id: >Number: 10861 >Category: optimization >Synopsis: [tree-ssa] ICE in assign_var >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon May 19 14:46:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Wolfgang Bangerth >Release: unknown-1.0 >Organization: >Environment: >Description: This proved hard to track down (thus a test case that's a little longish), but worthwhile since this assertion triggers in some 20 files of my library: ---------------------------------- void foo(); struct B { ~B() { int *p; if (0 != p) { int** x = 0; int* q = p; *x = q; } } }; struct V : B { V() { } V(const V& x) { foo(); } }; struct S { S(const S&); }; struct P { S s; V v; P(const S& a, const V& b) : s(a), v(b) {} }; void bar (P); void baz (const S &s) { P p(s, V()); bar(p); } ------------------------------ g/x> /home/bangerth/bin/gcc-3.4-tree-ssa/bin/c++ -O2 -c x.cc x.cc: In function `void baz(const S&)': x.cc:6: internal compiler error: in assign_vars, at tree-ssa.c:1557 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. W. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: