https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84415
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2018-02-16 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. You can use -Wno-ignored-attributes to work around this issue. I wonder why this isn't suppressed as coming from system headers though?