This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/80922] #pragma diagnostic ignored not honoured with -flto
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 31 May 2017 07:21:18 +0000
- Subject: [Bug middle-end/80922] #pragma diagnostic ignored not honoured with -flto
- Auto-submitted: auto-generated
- References: <bug-80922-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80922
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic, lto
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-05-31
CC| |hubicka at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
Component|c |middle-end
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. We do not track warning options (and thus optimize pragmas /
attributes) across LTO because they are not saved in the function specific
optimization flag section.