http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50785
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-19 12:46:00 UTC --- and I assume -O eliminates the reference binding due to inlining and value propagation this all seems normal for a missing definition of a static const member, like dozens of other invalid PRs