Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2023-05

Redundant init_final_table record generated for targets with the tf_init_final_units_by_calls flag?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Christo Crause

I have noticed that embedded targets generate code for initialize/finalize functionality by overriding the insert_init_final_table class method. However at the end of the overridden method, the parent insert_init_final_table method is also called, which generates an initfinal table which isn't called anywhere (AFAICS). Is there some case where the initfinal table is actually required, or can the inherited call be removed for these targets?

Reply by email