This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/35146] [4.3/4.4/4.5 regression] weird error in template function specialization



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]