]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Add kludge for quirk of ancient 32-bit ABIs to previous change
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 23 Aug 2024 15:06:00 +0000 (17:06 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 3 Sep 2024 08:16:54 +0000 (10:16 +0200)
commita19cf635ea29658d5f9fc19199473d6d823ef2d1
treeb09534236f5344e40279486b1711005991104875
parent9362abf5e81eb2e6e35f55f36ff8e7a31aef4e9d
ada: Add kludge for quirk of ancient 32-bit ABIs to previous change

Some ancient 32-bit ABIs, most notably that of x86/Linux, misalign double
scalars in record types, so comparing DECL_ALIGN with TYPE_ALIGN directly
may give the wrong answer for them.

gcc/ada/

* gcc-interface/trans.cc (addressable_p) <COMPONENT_REF>: Add kludge
to cope with ancient 32-bit ABIs.
gcc/ada/gcc-interface/trans.cc