public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20173] [3.4/4.0/4.1 regression] gcc accepts invalid partial specialization attempt of member function
[not found] <bug-20173-7611@http.gcc.gnu.org/bugzilla/>
@ 2005-10-23 17:46 ` mmitchel at gcc dot gnu dot org
2005-10-31 2:46 ` mmitchel at gcc dot gnu dot org
` (10 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-23 17:46 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/20173] [3.4/4.0/4.1 regression] gcc accepts invalid partial specialization attempt of member function
[not found] <bug-20173-7611@http.gcc.gnu.org/bugzilla/>
2005-10-23 17:46 ` [Bug c++/20173] [3.4/4.0/4.1 regression] gcc accepts invalid partial specialization attempt of member function mmitchel at gcc dot gnu dot org
@ 2005-10-31 2:46 ` mmitchel at gcc dot gnu dot org
2006-02-01 8:52 ` [Bug c++/20173] [3.4/4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-31 2:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from mmitchel at gcc dot gnu dot org 2005-10-31 02:46 -------
Leaving as P2; I've been tinkering with a possible patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/20173] [3.4/4.0/4.1/4.2 regression] gcc accepts invalid partial specialization attempt of member function
[not found] <bug-20173-7611@http.gcc.gnu.org/bugzilla/>
2005-10-23 17:46 ` [Bug c++/20173] [3.4/4.0/4.1 regression] gcc accepts invalid partial specialization attempt of member function mmitchel at gcc dot gnu dot org
2005-10-31 2:46 ` mmitchel at gcc dot gnu dot org
@ 2006-02-01 8:52 ` mmitchel at gcc dot gnu dot org
2006-02-24 0:31 ` mmitchel at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-01 8:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from mmitchel at gcc dot gnu dot org 2006-02-01 08:51 -------
The problem is that determine_specialization decides that the out-of-class
declaration is a specialization of the in-class declaration, even though it's
not. We should probably observe that the out-of-class declaration does not
have an explicit specialization as its innermost set of template parameters,
and therefore conclude that it can't be a specialization.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/20173] [3.4/4.0/4.1/4.2 regression] gcc accepts invalid partial specialization attempt of member function
[not found] <bug-20173-7611@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2006-02-01 8:52 ` [Bug c++/20173] [3.4/4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
@ 2006-02-24 0:31 ` mmitchel at gcc dot gnu dot org
2006-05-23 20:46 ` [Bug c++/20173] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-24 0:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from mmitchel at gcc dot gnu dot org 2006-02-24 00:25 -------
This issue will not be resolved in GCC 4.1.0; retargeted at GCC 4.1.1.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.3 |4.1.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/20173] [4.0/4.1/4.2 regression] gcc accepts invalid partial specialization attempt of member function
[not found] <bug-20173-7611@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2006-02-24 0:31 ` mmitchel at gcc dot gnu dot org
@ 2006-05-23 20:46 ` mmitchel at gcc dot gnu dot org
2006-05-23 20:47 ` [Bug c++/20173] [4.0/4.1 " mmitchel at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-23 20:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from mmitchel at gcc dot gnu dot org 2006-05-23 20:45 -------
Subject: Bug 20173
Author: mmitchel
Date: Tue May 23 20:45:44 2006
New Revision: 114023
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114023
Log:
PR c++/20173
* pt.c (determine_specialization): Disallow partial
specializations of templates.
PR c++/20173
* g++.dg/template/error21.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/template/error21.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/20173] [4.0/4.1 regression] gcc accepts invalid partial specialization attempt of member function
[not found] <bug-20173-7611@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2006-05-23 20:46 ` [Bug c++/20173] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
@ 2006-05-23 20:47 ` mmitchel at gcc dot gnu dot org
2006-05-24 9:31 ` reichelt at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-23 20:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from mmitchel at gcc dot gnu dot org 2006-05-23 20:47 -------
Fixed in 4.2.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.0/4.1/4.2 regression] gcc|[4.0/4.1 regression] gcc
|accepts invalid partial |accepts invalid partial
|specialization attempt of |specialization attempt of
|member function |member function
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/20173] [4.0/4.1 regression] gcc accepts invalid partial specialization attempt of member function
[not found] <bug-20173-7611@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2006-05-23 20:47 ` [Bug c++/20173] [4.0/4.1 " mmitchel at gcc dot gnu dot org
@ 2006-05-24 9:31 ` reichelt at gcc dot gnu dot org
2006-05-25 2:33 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-24 9:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from reichelt at gcc dot gnu dot org 2006-05-24 09:30 -------
*** Bug 27568 has been marked as a duplicate of this bug. ***
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |benoit dot sigoure at lrde
| |dot epita dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/20173] [4.0/4.1 regression] gcc accepts invalid partial specialization attempt of member function
[not found] <bug-20173-7611@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2006-05-24 9:31 ` reichelt at gcc dot gnu dot org
@ 2006-05-25 2:33 ` mmitchel at gcc dot gnu dot org
2006-05-31 2:11 ` [Bug c++/20173] [4.0 " mmitchel at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-25 2:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from mmitchel at gcc dot gnu dot org 2006-05-25 02:32 -------
Will not be fixed in 4.1.1; adjust target milestone to 4.1.2.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.1 |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/20173] [4.0 regression] gcc accepts invalid partial specialization attempt of member function
[not found] <bug-20173-7611@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2006-05-25 2:33 ` mmitchel at gcc dot gnu dot org
@ 2006-05-31 2:11 ` mmitchel at gcc dot gnu dot org
2006-05-31 2:11 ` [Bug c++/20173] [4.0/4.1 " mmitchel at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-31 2:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from mmitchel at gcc dot gnu dot org 2006-05-31 02:11 -------
Fixed in 4.1.0.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|mark at codesourcery dot com|unassigned at gcc dot gnu
| |dot org
Status|ASSIGNED |NEW
Summary|[4.0/4.1 regression] gcc |[4.0 regression] gcc accepts
|accepts invalid partial |invalid partial
|specialization attempt of |specialization attempt of
|member function |member function
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/20173] [4.0/4.1 regression] gcc accepts invalid partial specialization attempt of member function
[not found] <bug-20173-7611@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2006-05-31 2:11 ` [Bug c++/20173] [4.0 " mmitchel at gcc dot gnu dot org
@ 2006-05-31 2:11 ` mmitchel at gcc dot gnu dot org
2006-05-31 2:14 ` [Bug c++/20173] [4.0 " mmitchel at gcc dot gnu dot org
2006-09-17 19:57 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-31 2:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from mmitchel at gcc dot gnu dot org 2006-05-31 02:11 -------
Subject: Bug 20173
Author: mmitchel
Date: Wed May 31 02:11:20 2006
New Revision: 114260
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114260
Log:
PR c++/20173
* pt.c (determine_specialization): Disallow partial
specializations of templates.
PR c++/20173
* g++.dg/template/error21.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/error21.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/pt.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/20173] [4.0 regression] gcc accepts invalid partial specialization attempt of member function
[not found] <bug-20173-7611@http.gcc.gnu.org/bugzilla/>
` (9 preceding siblings ...)
2006-05-31 2:11 ` [Bug c++/20173] [4.0/4.1 " mmitchel at gcc dot gnu dot org
@ 2006-05-31 2:14 ` mmitchel at gcc dot gnu dot org
2006-09-17 19:57 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-31 2:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from mmitchel at gcc dot gnu dot org 2006-05-31 02:14 -------
Fixed in 4.1.2, rather.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/20173] [4.0 regression] gcc accepts invalid partial specialization attempt of member function
[not found] <bug-20173-7611@http.gcc.gnu.org/bugzilla/>
` (10 preceding siblings ...)
2006-05-31 2:14 ` [Bug c++/20173] [4.0 " mmitchel at gcc dot gnu dot org
@ 2006-09-17 19:57 ` pinskia at gcc dot gnu dot org
11 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-17 19:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from pinskia at gcc dot gnu dot org 2006-09-17 19:57 -------
Fixed so closing as such.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/20173] [3.4/4.0/4.1 regression] gcc accepts invalid partial specialization attempt of member function
2005-02-23 20:38 [Bug c++/20173] New: Wrong template function specialization chosen sstrasser at systemhaus-gruppe dot de
2005-07-22 21:15 ` [Bug c++/20173] [3.4/4.0/4.1 regression] gcc accepts invalid partial specialization attempt of member function pinskia at gcc dot gnu dot org
@ 2005-09-27 16:10 ` mmitchel at gcc dot gnu dot org
1 sibling, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:10 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.2 |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/20173] [3.4/4.0/4.1 regression] gcc accepts invalid partial specialization attempt of member function
2005-02-23 20:38 [Bug c++/20173] New: Wrong template function specialization chosen sstrasser at systemhaus-gruppe dot de
@ 2005-07-22 21:15 ` pinskia at gcc dot gnu dot org
2005-09-27 16:10 ` mmitchel at gcc dot gnu dot org
1 sibling, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-22 21:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 21:13 -------
Moving to 4.0.2 pre Mark.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4.5 |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20173
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2006-09-17 19:57 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-20173-7611@http.gcc.gnu.org/bugzilla/>
2005-10-23 17:46 ` [Bug c++/20173] [3.4/4.0/4.1 regression] gcc accepts invalid partial specialization attempt of member function mmitchel at gcc dot gnu dot org
2005-10-31 2:46 ` mmitchel at gcc dot gnu dot org
2006-02-01 8:52 ` [Bug c++/20173] [3.4/4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
2006-02-24 0:31 ` mmitchel at gcc dot gnu dot org
2006-05-23 20:46 ` [Bug c++/20173] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
2006-05-23 20:47 ` [Bug c++/20173] [4.0/4.1 " mmitchel at gcc dot gnu dot org
2006-05-24 9:31 ` reichelt at gcc dot gnu dot org
2006-05-25 2:33 ` mmitchel at gcc dot gnu dot org
2006-05-31 2:11 ` [Bug c++/20173] [4.0 " mmitchel at gcc dot gnu dot org
2006-05-31 2:11 ` [Bug c++/20173] [4.0/4.1 " mmitchel at gcc dot gnu dot org
2006-05-31 2:14 ` [Bug c++/20173] [4.0 " mmitchel at gcc dot gnu dot org
2006-09-17 19:57 ` pinskia at gcc dot gnu dot org
2005-02-23 20:38 [Bug c++/20173] New: Wrong template function specialization chosen sstrasser at systemhaus-gruppe dot de
2005-07-22 21:15 ` [Bug c++/20173] [3.4/4.0/4.1 regression] gcc accepts invalid partial specialization attempt of member function pinskia at gcc dot gnu dot org
2005-09-27 16:10 ` mmitchel at gcc dot gnu dot org
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).