Hi Andre,
Am 27.02.25 um 18:36 schrieb Andre Vehreschild:
Hi all,
attached patch fixes user defined finalizers in derived (class) types not
getting called, when the variable declared of that type was not used in the
current block. The patch ensures calling the finalizer by marking the
variable referenced, if it has not been.
Additionally I had to patch three testcases, because their tree-dump-scans did
not fit anymore. In one case a variable was not used in the two others the
counts did not match any more.
Regstests ok on x86_64-pc-linux-gnu / F41. Ok for mainline?
this LGTM.
Thanks for the patch!
Harald
Regards,
Andre
--
Andre Vehreschild * Email: vehre ad gmx dot de