This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15629] [3.3/3.4/3.5 Regressions] Function templates, overloads, and friend name injection
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 May 2004 11:59:46 -0000
- Subject: [Bug c++/15629] [3.3/3.4/3.5 Regressions] Function templates, overloads, and friend name injection
- References: <20040524081805.15629.ywhu@nmi.iii.org.tw>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-05-26 11:59 -------
Confirmed as a regression. The reduced code in comment #1 by Wolfgang emits the
following with GCC 2.95 (and EDG):
void func<2>(T<2,3> *)
void func<2>(T<2,3> *)
which is the correct behaviour. 3.0 - 3.2 even rejects this code, while from
3.3 we have the wrong-code problem (the wrong specialization is chosen).
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |wrong-code
Known to fail| |3.0.4 3.2.3 3.3.3 3.4.0
| |3.5.0
Known to work| |2.95.3
Last reconfirmed|0000-00-00 00:00:00 |2004-05-26 11:59:41
date| |
Summary|Function templates, |[3.3/3.4/3.5 Regressions]
|overloads, and friend name |Function templates,
|injection |overloads, and friend name
| |injection
Target Milestone|--- |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15629