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.