This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35146] [4.3/4.4/4.5 regression] weird error in template function specialization
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Apr 2009 20:14:51 -0000
- Subject: [Bug c++/35146] [4.3/4.4/4.5 regression] weird error in template function specialization
- References: <bug-35146-15752@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from jason at gcc dot gnu dot org 2009-04-06 20:14 -------
The testcase in comment #2 is ill-formed;
template <> void foo(S<double>, S<double>*);
is not a specialization of any function template in scope. But we're giving
very much the wrong error for that. Testing a patch now.
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2009-03-31 15:10:20 |2009-04-06 20:14:50
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35146