http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52069
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-01-31 16:38:47 UTC --- Or perhaps, because nothing in tmpl.cpp referes to the constant, it is not emitted in libtmpl.so at all when optimisation is enabled.