The following fixes the ICE.
It seems like a hack, done at the wrong level.
Should we have in fact set TYPE_STRUCTURAL_EQUALITY_P all the way
back on the unaligned 'a' type, before we even try to create an
array of 'a'? If so, that would have properly triggered the test
here in build_array_type_1 that would have bypassed the problem.
Created attachment 49473
rfc patch
The following fixes the ICE.
It seems like a hack, done at the wrong level.
Should we have in fact set TYPE_STRUCTURAL _EQUALITY_ P all the way
back on the unaligned 'a' type, before we even try to create an
array of 'a'? If so, that would have properly triggered the test
here in build_array_type_1 that would have bypassed the problem.