http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56868
Daniel Krügler <daniel.kruegler at googlemail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.kruegler at | |googlemail dot com --- Comment #6 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2013-04-07 21:32:46 UTC --- IMO this behaviour should be considered in the light of http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#903 Assuming the P/R of this issue becomes accepted, both static_assert(g2(0) == 1, "g2 failed"); static_assert(g3(0) == 1, "g3 failed"); should fail.