public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/8078: [3.3 regression] ICE on illegal class definition
@ 2003-05-01 17:56 Giovanni Bajo
  0 siblings, 0 replies; only message in thread
From: Giovanni Bajo @ 2003-05-01 17:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/8078; it has been noted by GNATS.

From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <gcc-gnats@gcc.gnu.org>,
	<gcc-bugs@gcc.gnu.org>,
	<nobody@gcc.gnu.org>,
	<gcc-prs@gcc.gnu.org>,
	<schmid@snake.iap.physik.tu-darmstadt.de>
Cc:  
Subject: Re: c++/8078: [3.3 regression] ICE on illegal class definition
Date: Thu, 1 May 2003 19:49:55 +0200

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8078
 
 This is another low-priority 3.3 regression that was well hidden in GNAT.
 It's fixed in the mainline (3.4 20030430) with the new parser, even if the
 error message is far from decent:
 
 --------------------------
 class A<B>
 {
   int i;
 };
 --------------------------
 pr8078.cpp:1: error: expected unqualified-id
 pr8078.cpp:1: error: expected `,' or `;'
 
 
 On 2.95, the message was:
 
 pr8078.cpp:1: `B' was not declared in this scope
 pr8078.cpp:2: `A' is not a template
 pr8078.cpp:4: abstract declarator `{anonymous struct}' used as declaration
 pr8078.cpp:4: global anonymous unions must be declared static
 
 And the first half makes a lot of sense.
 
 If this bug is ever fixed in 3.3, or anyway before closing it, please check
 if the error message in 3.4 is improved. Otherwise, we can keep this as a
 low-priority 3.4 regression on error message text.
 
 Giovanni Bajo
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-01 17:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-01 17:56 c++/8078: [3.3 regression] ICE on illegal class definition Giovanni Bajo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).