[Bug c++/69967] #pragma GCC diagnostic ignored being ignored for -Wunused-variable in some cases
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 26 09:19:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69967
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-02-26
Ever confirmed|0 |1
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Yes, IPA (symtab) code warns about this and it doesn't push/pop warning
options.
In fact for global variables there are no saved options at all.
More information about the Gcc-bugs
mailing list