https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92438
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org Target Milestone|--- |7.5 Summary|Function declaration parsed |[7/8/9/10 Regression] |incorrectly with |Function declaration parsed |`-std=c++1z` |incorrectly with | |`-std=c++1z` --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- This changed in r245314. Although, __attribute__ is a GNU extension and as such, it is the compiler and its documentation that determines what is correct and is not correct, C++ standard doesn't cover it.