diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-05-12 13:14:20 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-05-12 13:15:48 +0200 |
commit | 90aea3e8d4f6119a9b666275b274bc4c251a7c91 (patch) | |
tree | 2617a3277265d8007a7c5c7a612fbcc5b5d0aff0 /gcc/ada/gcc-interface/lang-specs.h | |
parent | 5e3c2d4b238f10e6e6db36810469483334d4bcb0 (diff) | |
download | gcc-90aea3e8d4f6119a9b666275b274bc4c251a7c91.zip gcc-90aea3e8d4f6119a9b666275b274bc4c251a7c91.tar.gz gcc-90aea3e8d4f6119a9b666275b274bc4c251a7c91.tar.bz2 |
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.
Diffstat (limited to 'gcc/ada/gcc-interface/lang-specs.h')
0 files changed, 0 insertions, 0 deletions