http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59867
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-01-18 Ever confirmed|0 |1 --- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> --- Looks like we have a C++1y extension of the C++11 requirements on the parameters in place (see toward the end of cp_parser_template_declaration_after_export) which however we don't handle correctly. I think Ed should clarify the intention and either tighten the diagnostic in C++1y mode too or make sure this kind of code is handled correctly (well, ideally, in C++11 mode we shouldn't provide the static_assert message, just emit the parsing error)