On Thu, 29 May 2025, Martin Uecker wrote: > get_aka_type will create a new type for diagnostics, but for tagged types > attributes will then be ignored with a warning. This can lead to > reentering > warning code which leads to an ICE. Fix this by ignoring the attributes > for tagged types.
> + /* For tagged types ignore qualifiers here because the will > + otherwise be ignored later causing a warning inside diagnostics > + which leads to an ICE. */ Do you mean ignore attributes (as in the proposed commit message) or qualifiers (as in the comment)? Also, "the will" -> "they will" (I think). -- Joseph S. Myers josmy...@redhat.com