https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109510

--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Eric Botcazou <ebotca...@gcc.gnu.org>:

https://gcc.gnu.org/g:94a21e008c4778e446321b1355f61abc75a076be

commit r13-7187-g94a21e008c4778e446321b1355f61abc75a076be
Author: Eric Botcazou <ebotca...@adacore.com>
Date:   Fri Apr 14 20:14:07 2023 +0200

    Fix build failure of Ada runtime for Aarch64 targets

    The Aarch64 back-end now asserts that the main variant of scalar types
    has TYPE_USER_ALIGN cleared, and that's not the case for scalar types
    declared with a confirming alignment clause in Ada.

    gcc/ada/
            PR bootstrap/109510
            * gcc-interface/decl.cc (gnat_to_gnu_entity) <types>: Reset align
            to zero if its value is equal to TYPE_ALIGN and the type is scalar.
            Set TYPE_USER_ALIGN on the type only if align is positive.

Reply via email to