This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45349] template function specializations are not recognized when the template is implemented in a header, and optimization is on.
- From: "tyler dot packer at landesk dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Aug 2010 21:40:34 -0000
- Subject: [Bug c++/45349] template function specializations are not recognized when the template is implemented in a header, and optimization is on.
- References: <bug-45349-19584@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from tyler dot packer at landesk dot com 2010-08-19 21:40 -------
Also included in the attachment is s2.cpp wich is an duplicate example of the
specialization in a single module. This sample when compiled does NOT exhibit
the same problem as when the class declaration (and template function) occurs
in a header.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45349