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]

Bug in function template specialization?


I found what seems to be a bug in parsing function template
specializations.  In the test case, I have an example of two function
template specializations; one that declares an ordinary function and one
that declares an overloaded operator.  GCC produces an error for the
operator, but does not for the ordinary function.

System:  Linux x86
OS:  Redhat 6.0
gcc version:  2.95.2  (I installed the rpms from redhat's rawhide site.)

Command-line:  gcc bug1.cpp

Let me know if there's any more information you need.

bug1.ii.bz2


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