On 4/20/2021 8:06 AM, Andreas Krebbel via Gcc-patches wrote:
With the current handling of decl alignments it is impossible to
reduce the alignment requirement as part of a variable declaration.

This change has been proposed by Richard in the PR. It fixes the
align-1.c testcase on IBM Z.

Bootstrapped on x86_64 and s390x. No regressions.

Ok for mainline?

gcc/ChangeLog:

        PR middle-end/88085
        * emit-rtl.c (set_mem_attributes_minus_bitpos): Use the user
        alignment if there are no pre-existing mem attrs.

OK

jeff

Reply via email to