[Bug c++/45349] template function specializations are not recognized when the template is implemented in a header, and optimization is on.

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 19 21:53:00 GMT 2010



------- Comment #6 from rguenth at gcc dot gnu dot org  2010-08-19 21:53 -------
No, it's not.  Your testcase violates the ODR and inlining makes that visible.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45349



More information about the Gcc-bugs mailing list