https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86407
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Target| |x86_64-*-*, i?86-*-* --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Not possible without creating a sub-option for the warning I guess. But if the attribute is a semantic one then it should be a type attribute rather than a decl one.