On 4/14/2021 9:32 AM, Richard Sandiford via Gcc-patches wrote:
types are distinct from GNU vector types in at least
their mangling. However, there used to be nothing explicit in the
VECTOR_TYPE itself to indicate the difference: we simply treated them
as distinct TYPE_MAIN_VARIANTs. This cau
On Wed, 14 Apr 2021, Richard Sandiford via Gcc-patches wrote:
> gcc/
> PR c/98852
> * attribs.h (affects_type_identity_attributes): Declare.
> * attribs.c (remove_attributes_matching): New function.
> (affects_type_identity_attributes): Likewise.
>
> gcc/c/
> PR c/98
types are distinct from GNU vector types in at least
their mangling. However, there used to be nothing explicit in the
VECTOR_TYPE itself to indicate the difference: we simply treated them
as distinct TYPE_MAIN_VARIANTs. This caused problems like the ones
reported in PR95726.
The fix for that P