aix: packed struct alignment [PR102068]
commit5faf7120398c9bf290758891a975da1f727d631a
authorDavid Edelsohn <dje.gcc@gmail.com>
Thu, 26 Aug 2021 21:14:18 +0000 (26 17:14 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Fri, 27 Aug 2021 01:19:22 +0000 (26 21:19 -0400)
tree573dcdf2d7431c466c7aa18d63a629aa9535f87e
parent0fa4787bf34b173ce6f198e99b6f6dd8a3f98014
aix: packed struct alignment [PR102068]

Further fixes to structure alignment when the structure is packed
and contains double.  This patch checks for packed attribute
at the top level.

gcc/ChangeLog:

PR target/102068
* config/rs6000/rs6000.c (rs6000_adjust_field_align): Use
computed alignment if the entire struct has attribute packed.
gcc/config/rs6000/rs6000.c