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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Eric Botcazou
<ebotca...@gcc.gnu.org>:

https://gcc.gnu.org/g:d587da263188eb81741e432de70bccf8c53c3d97

commit r14-10836-gd587da263188eb81741e432de70bccf8c53c3d97
Author: Eric Botcazou <ebotca...@adacore.com>
Date:   Wed Sep 11 19:53:12 2024 +0200

    ada: Fix internal error on bit-packed array type with Volatile_Full_Access

    The problem occurs when the component type is a record type with default
    values for the initialization procedure of the (base) array type, because
    the compiler is trying to generate a full access for a parameter of the
    base array type, which does not make sense.

    gcc/ada/ChangeLog:

            PR ada/116551
            * gcc-interface/trans.cc (node_is_atomic) <N_Identifier>: Return
            false if the type of the entity is an unconstrained array type.
            (node_is_volatile_full_access) <N_Identifier>: Likewise.

Reply via email to