]> gcc.gnu.org Git - gcc.git/commit
Fix PR ada/98228
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 26 Jan 2021 17:54:26 +0000 (18:54 +0100)
committerEric Botcazou <ebotcazou@adacore.com>
Tue, 26 Jan 2021 18:06:32 +0000 (19:06 +0100)
commit29f721366b718b60d4c72d82e42e1e3d0a6405c2
tree8a952d259bab6e6453dc63c3fe35f9c9763621db
parent3b20d9607d2e90b13d16f12676a87114ff74c3cf
Fix PR ada/98228

This is the profiled bootstrap failure for s390x/Linux on the mainline,
which has been introduced by the modref pass but actually exposing an
existing issue in the maybe_pad_type function that is visible on s390x.

The issue is too weak a test for the addressability of the inner component.

gcc/ada/
    Marius Hillenbrand  <mhillen@linux.ibm.com>

PR ada/98228
* gcc-interface/utils.c (maybe_pad_type): Test the size of the new
packable type instead of its alignment for addressability's sake.
gcc/ada/gcc-interface/utils.c
This page took 0.06236 seconds and 6 git commands to generate.