Hi Harald, thanks for the review. Committed as gcc-15-7747-gc1606e383a3.
Thanks again, Andre On Thu, 27 Feb 2025 21:13:08 +0100 Harald Anlauf <anl...@gmx.de> wrote: > 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 > -- Andre Vehreschild * Email: vehre ad gmx dot de