https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114708
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Eric Botcazou <ebotca...@gcc.gnu.org>: https://gcc.gnu.org/g:12a3ba2be46e86ff1bffa5c876b6b17fe4929be3 commit r12-10501-g12a3ba2be46e86ff1bffa5c876b6b17fe4929be3 Author: Eric Botcazou <ebotca...@adacore.com> Date: Mon Jun 10 12:12:21 2024 +0200 Fix crash on access-to-incomplete type This just adds the missing guard. gcc/ada/ PR ada/114708 * exp_util.adb (Finalize_Address): Add guard for incomplete types. gcc/testsuite/ * gnat.dg/incomplete8.adb: New test.