utils.c (potential_alignment_gap): Delete.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 3 Dec 2019 10:23:06 +0000 (10:23 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 3 Dec 2019 10:23:06 +0000 (10:23 +0000)
commit1058a2262b9dc15c164dec5261a9b3daad84e6d6
tree4e548af7116a715f54fd37f75038a179dd97c414
parentcbcf36686e215a8a4bb5e824f8d8e40226b79757
utils.c (potential_alignment_gap): Delete.

* gcc-interface/utils.c (potential_alignment_gap): Delete.
(rest_of_record_type_compilation): Do not call above function.  Use
the alignment of the field instead of that of its type, if need be.
When the original field has variable size, always lower the alignment
of the pointer type.  Reset the bit-field status of the new field if
it does not encode a bit-field.

From-SVN: r278930
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c