This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14500] most specialized function template vs. non-template function
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Mar 2004 15:21:20 -0000
- Subject: [Bug c++/14500] most specialized function template vs. non-template function
- References: <20040309045153.14500.bkoz@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2004-03-10 15:21 -------
Subject: Re: most specialized function template vs. non-template function
"giovannibajo at libero dot it" <gcc-bugzilla@gcc.gnu.org> writes:
| Gaby, I tried your testcase with mainline, but the code does call
| your function #3. If I change the attribute to be "strong", then
| function #1 is called. Is this the bug? I don't know the semantics
| of strong using.
If that happens then we have a double bug :-)
Yes, the testcasse for the bug is what happens when you use "strong"
in the attribute.
(Sorry, I should not have been testing a fine point made by Jason a
while ago).
Thanks for experimenting and correcting the testcase..
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14500