public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/3381: explicit template instantations fail with absolutely qualified names
@ 2001-06-22 14:16 Jens.Maurer
  0 siblings, 0 replies; 6+ messages in thread
From: Jens.Maurer @ 2001-06-22 14:16 UTC (permalink / raw)
  To: gcc-gnats

>Number:         3381
>Category:       c++
>Synopsis:       explicit template instantations fail with absolutely qualified names
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 22 14:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jens Maurer
>Release:        gcc version 3.0
>Organization:
>Environment:
Linux 2.4.4
glibc 2.2.3
>Description:
The code below shows how explicit template instantations
fail when the name of the template starts with a
reference to the global namespace "::".

explicit-instantiation-absqual.cc:8: parse error before `;' token

Versions 2.95.3 and 3.1 20010617 show the same error.
>How-To-Repeat:
namespace N {
  template<class T>
  class A { };
}

// template class N::A<int>;   // this works (by itself)
template class ::N::A<int>;    // but this doesn't
>Fix:

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


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

* Re: c++/3381: explicit template instantations fail with absolutely qualified names
@ 2001-12-04  1:56 nathan
  0 siblings, 0 replies; 6+ messages in thread
From: nathan @ 2001-12-04  1:56 UTC (permalink / raw)
  To: nathan; +Cc: gcc-prs

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

From: nathan@gcc.gnu.org
To: Jens.Maurer@gmx.net, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org,
  gcc-prs@gcc.gnu.org, nathan@gcc.gnu.org
Cc:  
Subject: Re: c++/3381: explicit template instantations fail with absolutely qualified names
Date: 4 Dec 2001 09:49:24 -0000

 Synopsis: explicit template instantations fail with absolutely qualified names
 
 State-Changed-From-To: analyzed->closed
 State-Changed-By: nathan
 State-Changed-When: Tue Dec  4 01:49:23 2001
 State-Changed-Why:
     2001-12-03  Nathan Sidwell  <nathan@codesourcery.com>
     
     	PR g++/3381
     	* parse.y (named_complex_class_head_sans_basetype): Add new
     	reduction.
     	* Make-lang.in (parse.c): Adjust expected conflict count.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3381&database=gcc


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

* Re: c++/3381: explicit template instantations fail with absolutely qualified names
@ 2001-12-04  1:49 nathan
  0 siblings, 0 replies; 6+ messages in thread
From: nathan @ 2001-12-04  1:49 UTC (permalink / raw)
  To: Jens.Maurer, gcc-bugs, gcc-gnats, gcc-prs, nathan

Synopsis: explicit template instantations fail with absolutely qualified names

State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Tue Dec  4 01:49:23 2001
State-Changed-Why:
    2001-12-03  Nathan Sidwell  <nathan@codesourcery.com>
    
    	PR g++/3381
    	* parse.y (named_complex_class_head_sans_basetype): Add new
    	reduction.
    	* Make-lang.in (parse.c): Adjust expected conflict count.

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


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

* Re: c++/3381: explicit template instantations fail with absolutely qualified names
@ 2001-11-22  7:19 nathan
  0 siblings, 0 replies; 6+ messages in thread
From: nathan @ 2001-11-22  7:19 UTC (permalink / raw)
  To: nathan; +Cc: gcc-prs

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

From: nathan@gcc.gnu.org
To: Jens.Maurer@gmx.net, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org,
  gcc-prs@gcc.gnu.org, gdr@gcc.gnu.org, nathan@gcc.gnu.org
Cc:  
Subject: Re: c++/3381: explicit template instantations fail with absolutely qualified names
Date: 30 Nov 2001 09:39:07 -0000

 Synopsis: explicit template instantations fail with absolutely qualified names
 
 Responsible-Changed-From-To: gdr->nathan
 Responsible-Changed-By: nathan
 Responsible-Changed-When: Fri Nov 30 01:39:07 2001
 Responsible-Changed-Why:
     working on patch
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3381&database=gcc


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

* Re: c++/3381: explicit template instantations fail with absolutely qualified names
@ 2001-11-22  7:16 nathan
  0 siblings, 0 replies; 6+ messages in thread
From: nathan @ 2001-11-22  7:16 UTC (permalink / raw)
  To: Jens.Maurer, gcc-bugs, gcc-gnats, gcc-prs, gdr, nathan

Synopsis: explicit template instantations fail with absolutely qualified names

Responsible-Changed-From-To: gdr->nathan
Responsible-Changed-By: nathan
Responsible-Changed-When: Fri Nov 30 01:39:07 2001
Responsible-Changed-Why:
    working on patch

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


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

* Re: c++/3381: explicit template instantations fail with absolutely qualified names
@ 2001-08-12  1:26 gdr
  0 siblings, 0 replies; 6+ messages in thread
From: gdr @ 2001-08-12  1:26 UTC (permalink / raw)
  To: Jens.Maurer, gcc-bugs, gcc-prs, gdr, nobody

Synopsis: explicit template instantations fail with absolutely qualified names

Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: gdr
Responsible-Changed-When: Sun Aug 12 01:26:43 2001
Responsible-Changed-Why:
    See below.
State-Changed-From-To: open->analyzed
State-Changed-By: gdr
State-Changed-When: Sun Aug 12 01:26:43 2001
State-Changed-Why:
    Confirmed as bug.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3381&database=gcc


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

end of thread, other threads:[~2001-12-04  9:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-22 14:16 c++/3381: explicit template instantations fail with absolutely qualified names Jens.Maurer
2001-08-12  1:26 gdr
2001-11-22  7:16 nathan
2001-11-22  7:19 nathan
2001-12-04  1:49 nathan
2001-12-04  1:56 nathan

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