From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32666 invoked by alias); 18 Nov 2002 21:49:49 -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 32645 invoked by uid 61); 18 Nov 2002 21:49:48 -0000 Date: Sun, 24 Nov 2002 10:47:00 -0000 Message-ID: <20021118214948.32644.qmail@sources.redhat.com> To: deller@gmx.de, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: reichelt@igpm.rwth-aachen.de Reply-To: reichelt@igpm.rwth-aachen.de, deller@gmx.de, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/8625: [3.3 regression] ICE in cp_convert_parm_for_inlining, at cp/call.c:4304 X-SW-Source: 2002-11/txt/msg00906.txt.bz2 List-Id: Old Synopsis: ice on valid c++ code New Synopsis: [3.3 regression] ICE in cp_convert_parm_for_inlining, at cp/call.c:4304 State-Changed-From-To: open->analyzed State-Changed-By: reichelt State-Changed-When: Mon Nov 18 13:49:46 2002 State-Changed-Why: Confirmed. The ICE can be reproduced with the following code snippet: ---------------------snip here-------------------------- struct A { ~A(); }; struct B { B( A ) {} }; const A foo(); B b(foo()); ---------------------snip here-------------------------- The error message is (just compile with "g++ -O -c"): In file included from PR8625.cc:13: PR8625.cc: In function `void __static_initialization_and_destruction_0(int, int)': PR8625.cc:8: internal compiler error: in cp_convert_parm_for_inlining, at cp/call.c:4304 Please submit a full bug report, Only mainline is affected (gcc 3.3 20021111). Thus, we have a regression. I can reproduce the bug on i686-pc-liunx-gnu and mips-sgi-irix6.5. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8625