http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58885
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal --- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> --- Yet to be analyzed, but looks like a bug in your code: up to date g++, clang++, icc, all reject it at link time the same way.