https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83732
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The warning should at least to be using OPT_Wattribute to allow it to be turned on/off with a warning flag.
pinskia at gcc dot gnu.org via Gcc-bugs Mon, 20 Jan 2025 13:27:50 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83732
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The warning should at least to be using OPT_Wattribute to allow it to be turned on/off with a warning flag.