public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/6440: [2003-01-22] template specializations cause ICE
@ 2003-01-23 4:16 Giovanni Bajo
0 siblings, 0 replies; only message in thread
From: Giovanni Bajo @ 2003-01-23 4:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/6440; it has been noted by GNATS.
From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <gcc-gnats@gcc.gnu.org>,
<Jens.Maurer@gmx.net>,
<gcc-bugs@gcc.gnu.org>,
<nobody@gcc.gnu.org>,
<gcc-prs@gcc.gnu.org>
Cc:
Subject: Re: c++/6440: [2003-01-22] template specializations cause ICE
Date: Thu, 23 Jan 2003 05:14:16 +0100
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
r=6440
I agree that A<int>::B is the right syntax, and it is indeed accepted by
EDG.
Moreover, please notice that the last definition in the test is ill-formed:
template<class Y> template<>
void A<Y>::B<double>::mf2() { }
since you cannot specialize B<> without specializing A<>. I think that line
should be removed from the test (unless it's required to trigger the ICE),
otherwise "ice-on-legal-code" should be change to "illegal-code".
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-23 4:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-23 4:16 c++/6440: [2003-01-22] template specializations cause ICE 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).