https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84603
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |NEW Resolution|INVALID |--- --- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> --- I disagree with resolving this report as invalid. If the option is deprecated at a minimum the manual, if not GCC itself, should say so. Otheriwse, if it isn't deprecated but cannot be made to work in attribute/#pragma, the manual should explain that and, ideally, GCC should mention that in the text of the warning it prints. Let me prepare a patch with one of these solutions.