diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-10-28 09:13:33 +0100 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-11-12 14:00:53 +0100 |
commit | 524590a3606d773a7827ed469d80f5c8701e5dd8 (patch) | |
tree | 1c55c413ea088c65cc14fb693fcfb410cb2e2306 /gcc/errors.cc | |
parent | bb4a081156175cf7ac7a818c6a669d3f63ea0ad8 (diff) | |
download | gcc-524590a3606d773a7827ed469d80f5c8701e5dd8.zip gcc-524590a3606d773a7827ed469d80f5c8701e5dd8.tar.gz gcc-524590a3606d773a7827ed469d80f5c8701e5dd8.tar.bz2 |
ada: Fix internal error on instantiation of package with a nested ghost package
The instantiation triggers an internal error in Gigi because of a dangling
ghost entity created by the finalization machinery.
gcc/ada/ChangeLog:
PR ada/114300
* exp_ch7.adb (Attach_Object_To_Master_Node): Propagate the
Is_Ignored_Ghost_Entity flag from the finalization procedure.
(Build_Finalizer.Process_Declarations): Move up the test on
Is_Ignored_Ghost_Entity.
* exp_util.adb (Requires_Cleanup_Actions): Likewise.
Diffstat (limited to 'gcc/errors.cc')
0 files changed, 0 insertions, 0 deletions