https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95035
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Eric Botcazou <ebotca...@gcc.gnu.org>: https://gcc.gnu.org/g:90aea3e8d4f6119a9b666275b274bc4c251a7c91 commit r11-317-g90aea3e8d4f6119a9b666275b274bc4c251a7c91 Author: Eric Botcazou <ebotca...@gcc.gnu.org> Date: Tue May 12 13:14:20 2020 +0200 Fix incorrect scalar storage order handling This fixes an oversight in the new canonicalization code for packable types: it does not take into account the scalar storage order. PR ada/95035 * gcc-interface/utils.c (packable_type_hasher::equal): Also compare the scalar storage order. (hash_packable_type): Also hash the scalar storage order. (hash_pad_type): Likewise.