From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6154 invoked by alias); 28 Mar 2003 15:07:54 -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 6134 invoked by uid 48); 28 Mar 2003 15:07:53 -0000 Date: Fri, 28 Mar 2003 15:11:00 -0000 Message-ID: <20030328150753.6133.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, larsbj@lyx.org, nobody@gcc.gnu.org From: bangerth@dealii.org Reply-To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, larsbj@lyx.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/10247: [3.4 regression] ICE in ocp_convert, at cp/cvt.c:636 X-SW-Source: 2003-03/txt/msg01997.txt.bz2 List-Id: Old Synopsis: ICE in ocp_convert, at cp/cvt.c:636 New Synopsis: [3.4 regression] ICE in ocp_convert, at cp/cvt.c:636 State-Changed-From-To: analyzed->open State-Changed-By: bangerth State-Changed-When: Fri Mar 28 15:07:53 2003 State-Changed-Why: [Toggling states to avoid moving to the other machine with the mail connection :-)] This is a regression in mainline. Steven was already close with his testcase (sent privately), here's a maximally reduced one: ----------------------------- class A {}; A const foo(); void bar() { A a = foo(); A b = true ? a : foo(); } ------------------------- g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c y.cc y.cc: In function `void bar()': y.cc:7: internal compiler error: in ocp_convert, at cp/cvt.c:636 There's a note in the audit trail that it might be related to 10224. I don't think that's the case, and indeed Nathan's fix doesn't cure this report as well, so they are different. W. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10247