]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix internal error on Ghost aspect applied to Big_Integers
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 14 Apr 2025 08:23:52 +0000 (10:23 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Mon, 30 Jun 2025 17:12:55 +0000 (19:12 +0200)
commit36332b84ce1ce738883fad68f0de4f9e678ee5f8
tree1a82e3016266454437bf40fda06b1c3099906ed4
parente94c6831691ab2e46c659a8a471894fc414d1fa1
ada: Fix internal error on Ghost aspect applied to Big_Integers

That's a regression introduced by the rewrite of the finalization machinery,
in the form of dangling references to Master_Node entities remaining in the
tree after the removal of the ignored Ghost code.

gcc/ada/ChangeLog:

* exp_ch7.adb (Process_Transient_In_Scope): Bail out if the object
is an ignored ghost entity.
gcc/ada/exp_ch7.adb