diff options
author | Marc Poulhiès <poulhies@adacore.com> | 2022-11-15 16:47:59 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2022-11-21 11:10:34 +0100 |
commit | a186dd158decad693bd18c95962a9ea61022166c (patch) | |
tree | a83a6beea57a57edd33966496ab0ead1af20ebfb /gcc/ada/gcc-interface/trans.cc | |
parent | 6f089469f4f0960818498ca5ad2bd3797a4b1d43 (diff) | |
download | gcc-a186dd158decad693bd18c95962a9ea61022166c.zip gcc-a186dd158decad693bd18c95962a9ea61022166c.tar.gz gcc-a186dd158decad693bd18c95962a9ea61022166c.tar.bz2 |
ada: Do not share Packed Array Type if sizes of types differ
If a subtype has a Size attribute value different than the size of its
ancestor, then the Packed Array Type can't be shared and a new one must
be created.
gcc/ada/
* exp_pakd.adb (Create_Packed_Array_Impl_Type): Do not share PAT
if sizes of types differ.
Diffstat (limited to 'gcc/ada/gcc-interface/trans.cc')
0 files changed, 0 insertions, 0 deletions