From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25717 invoked by alias); 30 Apr 2003 13:52:43 -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 25649 invoked by uid 48); 30 Apr 2003 13:52:43 -0000 Date: Wed, 30 Apr 2003 13:52:00 -0000 Message-ID: <20030430135243.25648.qmail@sources.redhat.com> To: Endlisnis@mailc.net, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, mmitchel@gcc.gnu.org, nobody@gcc.gnu.org, rcampbell@tropicnetworks.com From: giovannibajo@libero.it Reply-To: giovannibajo@libero.it, Endlisnis@mailc.net, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, mmitchel@gcc.gnu.org, nobody@gcc.gnu.org, rcampbell@tropicnetworks.com, gcc-gnats@gcc.gnu.org Subject: Re: c++/10527: [3.3/3.4 regression] confused error message with "new int()" parameter initializer X-SW-Source: 2003-04/txt/msg01447.txt.bz2 List-Id: Old Synopsis: [3.3/3.4 regression] ICE with illegal template: error reporting functions reentered New Synopsis: [3.3/3.4 regression] confused error message with "new int()" parameter initializer Responsible-Changed-From-To: unassigned->mmitchel Responsible-Changed-By: bajo Responsible-Changed-When: Wed Apr 30 13:52:42 2003 Responsible-Changed-Why: He fixed the ICE here, probably it's something related State-Changed-From-To: closed->analyzed State-Changed-By: bajo State-Changed-When: Wed Apr 30 13:52:42 2003 State-Changed-Why: The problem with the wrong error message is still present: ----------------------------------------------- struct Foo {}; void Foo::NON_EXISTENT(int* val = new int()) {} ----------------------------------------------- pr10527.cpp:7: error: no `void Foo::NON_EXISTENT(int* = (operator new(unsigned int)(4), ((true, (((*) 0), ( false))), )))' member function declared in class `Foo' This is a regression since 2.95, where we got: pr10527.cpp:7: no `void Foo::NON_EXISTENT(int * = new int)' member function declared in class `Foo' Since it's simply a regression on error message formatting, I lower the priority. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10527