https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84542
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- This never worked correctly in GCC so it's not a regression. It works as expected in Clang and ICC, and with [[deprecated]] also in MSVC.