Hi, I see one gcc_assert was introduce in: https://gcc.gnu.org/pipermail/gcc-patches/2020-April/544271.html This is causing an ICE for certain cases. I have created a PR for this: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94784 I did some check and it looks like everything works fine before the ICE. In the testcase we have two vectors with the same ABI identity but with different TYPE_MODEs. The proposed patch flips the assert around so that it checks that the two vectors have equal TYPE_VECTOR_SUBPARTS and that converting the corresponding element types is a useless_type_conversion_p.
Bootstrap and tested on aarch64-linux-gnu. OK? Thanks, Felix
pr94784-v1.diff
Description: pr94784-v1.diff