https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82270
Paul Groke <paul.groke at dynatrace dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE |--- --- Comment #4 from Paul Groke <paul.groke at dynatrace dot com> --- This is not the same as bug 97222. Bug 97222 is about losing attributes that were introduced by a typedef. This bug is about getting a bogus warning which says that this happened when: - The attribute is attached directly to a struct - The a typedef resolving to the struct is then used as a template argument - Compiling for SPARC - The attribute isn't really lost In what is described in bug 97222 OTOH, the attribute is really lost, because it was introduced by a typedef and not directly attached to a struct as in this case.