aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/inline.adb
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-01-09 10:21:51 +0100
committerEric Botcazou <ebotcazou@adacore.com>2024-01-09 10:24:57 +0100
commit4d3fd59953bcf423dd0859a2c6b95b5260aed71d (patch)
treebae8c75cbb523bf5a099bd90a394168c8e379a88 /gcc/ada/inline.adb
parentf34141730266600b615b91d563a85a0b60223b3e (diff)
downloadgcc-4d3fd59953bcf423dd0859a2c6b95b5260aed71d.zip
gcc-4d3fd59953bcf423dd0859a2c6b95b5260aed71d.tar.gz
gcc-4d3fd59953bcf423dd0859a2c6b95b5260aed71d.tar.bz2
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.
Diffstat (limited to 'gcc/ada/inline.adb')
0 files changed, 0 insertions, 0 deletions