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

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
https://gcc.gnu.org/g:4d3fd59953bcf423dd0859a2c6b95b5260aed71d

commit r14-7029-g4d3fd59953bcf423dd0859a2c6b95b5260aed71d
Author: Eric Botcazou <ebotca...@adacore.com>
Date:   Tue Jan 9 10:21:51 2024 +0100

    Fix internal error on anonymous access type equality

    This is a small regression present on the mainline and 13 branch, in the
    form of an internal error in gigi on anonymous access type equality.  We
    now need to also accept them for anonymous access types that point to
    compatible object subtypes in the language sense.

    gcc/ada/
            * gcc-interface/utils2.cc (build_binary_op) <EQ_EXPR>: Relax
            assertion for regular pointer types.

    gcc/testsuite/
            * gnat.dg/specs/anon4.ads: New test.

Reply via email to