From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6726 invoked by alias); 8 May 2003 18:56:01 -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 6708 invoked by uid 71); 8 May 2003 18:56:00 -0000 Date: Thu, 08 May 2003 18:56:00 -0000 Message-ID: <20030508185600.6707.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Wolfgang Bangerth Subject: Re: c++/10661 Reply-To: Wolfgang Bangerth X-SW-Source: 2003-05/txt/msg00639.txt.bz2 List-Id: The following reply was made to PR c++/10661; it has been noted by GNATS. From: Wolfgang Bangerth To: Jason Merrill Cc: Giovanni Bajo , Subject: Re: c++/10661 Date: Thu, 8 May 2003 13:51:50 -0500 (CDT) > Hmm, the analysis in the PR is correct; the testcase is ill-formed. My > patch will make it work, but probably isn't worth applying; I don't think > well-formed code will have the same problem. I would appreciate some patch nevertheless: the testcase presently just ICEs, without any prior error message. Whether you make the testcase compile properly or reject it with an error, I don't care, but anything should be better than just an ICE! Giovanni: you asked about tests with older compilers -- your testcase ICEs every compiler from 2.95 to 3.3. It works with 3.4, i.e. we get a proper error message. Fixing the issue with the missing "template" allows compilers since 3.0 to succeed, 2.95 still ICEs. W. ------------------------------------------------------------------------- Wolfgang Bangerth email: bangerth@ices.utexas.edu www: http://www.ices.utexas.edu/~bangerth/