https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104052
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There are other types it messes up with too. E.g. the opaque types (PR 98688). I noticed vector types are not handled correctly either. It assumes all vector types of the same size are the same which is definitely not true for aarch64.