public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/9171: [3.4 regression] trouble with explicit template specialization
@ 2003-01-04 15:16 reichelt
0 siblings, 0 replies; only message in thread
From: reichelt @ 2003-01-04 15:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 9171
>Category: c++
>Synopsis: [3.4 regression] trouble with explicit template specialization
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Sat Jan 04 07:16:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Volker Reichelt
>Release: gcc 3.4-20021230
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
When I compile the following (IMHO legal) code snippet
----------------------snip here------------------
template <int i> struct A;
template <> struct A<0> { struct B; };
struct A<0>::B {};
----------------------snip here------------------
using the new parser, I get the following error message:
bug.cc:3: error: too few template-parameter-lists
This is a regression on the 3.4 branch.
The problem might be related to PR 9127 and PR 3825.
>How-To-Repeat:
Just compile with
g++ -c
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-04 15:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-04 15:16 c++/9171: [3.4 regression] trouble with explicit template specialization reichelt
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).