[Bug ada/114708] [12/13/14/15 regression] internal error on access to an incomplete formal in generic package
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 10 10:25:15 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114708
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Eric Botcazou
<ebotcazou@gcc.gnu.org>:
https://gcc.gnu.org/g:b5ad4431f97eed60e46fc447fcd1eb4077b3cd80
commit r14-10300-gb5ad4431f97eed60e46fc447fcd1eb4077b3cd80
Author: Eric Botcazou <ebotcazou@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.
More information about the Gcc-bugs
mailing list