public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10771: [3.4 regression] [diagnostic] Unreadable error message for illegal specialization
@ 2003-05-14 21:18 bangerth
  0 siblings, 0 replies; 4+ messages in thread
From: bangerth @ 2003-05-14 21:18 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gdr, giovannibajo

Synopsis: [3.4 regression] [diagnostic] Unreadable error message for illegal specialization

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed May 14 21:18:34 2003
State-Changed-Why:
    Confirmed. Though it's worse: gcc3.2.3 and 3.3 ICE on this
    code. 3.4 doesn't any more. But I think that we have other
    reports about the ICE, so we may keep this PR just for the
    problem with the diagnostics. Is this right Giovanni?

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10771


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/10771: [3.4 regression] [diagnostic] Unreadable error message for illegal specialization
@ 2003-05-14 23:06 Giovanni Bajo
  0 siblings, 0 replies; 4+ messages in thread
From: Giovanni Bajo @ 2003-05-14 23:06 UTC (permalink / raw)
  To: gdr; +Cc: gcc-prs

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

From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <bangerth@dealii.org>,
	<gcc-bugs@gcc.gnu.org>,
	<gcc-prs@gcc.gnu.org>,
	<gdr@gcc.gnu.org>,
	<giovannibajo@libero.it>,
	<gcc-gnats@gcc.gnu.org>
Cc:  
Subject: Re: c++/10771: [3.4 regression] [diagnostic] Unreadable error message for illegal specialization
Date: Thu, 15 May 2003 01:01:27 +0200

 bangerth@dealii.org wrote:
 
 >     Confirmed. Though it's worse: gcc3.2.3 and 3.3 ICE on this
 >     code. 3.4 doesn't any more. But I think that we have other
 >     reports about the ICE, so we may keep this PR just for the
 >     problem with the diagnostics. Is this right Giovanni?
 
 Exactly. This is what I meant at the start of the PR description.
 
 Giovanni Bajo
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/10771: [3.4 regression] [diagnostic] Unreadable error message for illegal specialization
@ 2003-05-13 18:15 giovannibajo
  0 siblings, 0 replies; 4+ messages in thread
From: giovannibajo @ 2003-05-13 18:15 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gdr, giovannibajo, nobody

Synopsis: [3.4 regression] [diagnostic] Unreadable error message for illegal specialization

Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: bajo
Responsible-Changed-When: Tue May 13 18:13:32 2003
Responsible-Changed-Why:
    Diagnostic mantainer.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10771


^ permalink raw reply	[flat|nested] 4+ messages in thread

* c++/10771: [3.4 regression] [diagnostic] Unreadable error message for illegal specialization
@ 2003-05-13 18:07 giovannibajo
  0 siblings, 0 replies; 4+ messages in thread
From: giovannibajo @ 2003-05-13 18:07 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10771
>Category:       c++
>Synopsis:       [3.4 regression] [diagnostic] Unreadable error message for illegal specialization
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 13 18:06:03 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Giovanni Bajo
>Release:        3.4 CVS 20030503
>Organization:
>Environment:
i686-pc-cygwin
>Description:
This is the testcase for c++/10705 (a 3.3 only regression):

-------------------------
template <typename T>
struct X<T*> {
   typedef int Y;
};
-------------------------

Compile with 3.4, we get:

pr10705.cpp:4: error: expected unqualified-id

This is a regression on error diagnostic wrt 2.95, where
it was giving:

pr10705.cpp:2: `X' is not a template
pr10705.cpp:2: template class without a name

which is much clearer. With Comeau, I get:

"pr10705.cpp", line 2: error: a template argument list is not allowed in a declaration of a primary template
  struct X<T*> {
         ^
>How-To-Repeat:
Compile the above snippet
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-05-14 23:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-14 21:18 c++/10771: [3.4 regression] [diagnostic] Unreadable error message for illegal specialization bangerth
  -- strict thread matches above, loose matches on Subject: below --
2003-05-14 23:06 Giovanni Bajo
2003-05-13 18:15 giovannibajo
2003-05-13 18:07 giovannibajo

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).