[Bug c++/80495] attribute [[noreturn]] is accepted in function pointer declarations
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 14 20:18:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80495
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-09-14
CC| |msebor at gcc dot gnu.org
Ever confirmed|0 |1
Known to fail| |6.4.0, 7.3.0, 8.2.0, 9.0
--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed. Both Clang and ICC diagnose the test case.
At the same time, I agree that attributes in the C++ standard are poorly
specified.
More information about the Gcc-bugs
mailing list