]> 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:03:58 +0000 (19:03 +0100)
commit9c41bcc59c237aaa629e271f88c20a90cb8e0af5
tree1f46a8e2fa011c9ba5fae9d68425db52479c73f8
parent6e44c09b2df7282e0b519f241cf54438ab183b5e
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.06558 seconds and 6 git commands to generate.