[fpc-devel] fpc trunk / parentfp for debugger / missing
Yuriy Sydorov
jura at cp-lab.com
Sat Jun 20 20:50:22 CEST 2020
On 20.06.2020 16:17, Florian Klämpfl wrote:
> Am 20.06.20 um 15:04 schrieb Jonas Maebe:
>> On 20/06/2020 14:59, Yuriy Sydorov wrote:
>>> Maybe implement this in a clean way by adding a new generic optimization
>>> cs_opt_hiddenpara?
>>
>> Maybe cs_opt_unusedpara. It doesn't have to be limited to hidden parameters.
>
> IMO there is even nothing wrong to have a completely separate switch like cs_opt_unusedparentfp.
I've added the generic cs_opt_unused_para optimization option.
In future, if needed, more fine-grained related options can be introduced.
So now the parentfp optimization is enabled for -O2 and higher.
Yuriy.
More information about the fpc-devel
mailing list