Re: [fpc-devel] fpc trunk / parentfp for debugger / missing

2020-06-20 Thread Yuriy Sydorov
On June 21, 2020 00:34:01 Jonas Maebe wrote: On 20/06/2020 20:50, Yuriy Sydorov wrote: 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_

Re: [fpc-devel] fpc trunk / parentfp for debugger / missing

2020-06-20 Thread Yuriy Sydorov
On June 20, 2020 23:22:13 Florian Klämpfl wrote: Am 20.06.20 um 22:02 schrieb Karoly Balogh (Charlie/SGR): Hi, On Sat, 20 Jun 2020, Yuriy Sydorov wrote: I've added the generic cs_opt_unused_para optimization option. In future, if needed, more fine-grained related options can be introduced.

Re: [fpc-devel] fpc trunk / parentfp for debugger / missing

2020-06-20 Thread Jonas Maebe
On 20/06/2020 20:50, Yuriy Sydorov wrote: > 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

Re: [fpc-devel] fpc trunk / parentfp for debugger / missing

2020-06-20 Thread Florian Klämpfl
Am 20.06.20 um 22:02 schrieb Karoly Balogh (Charlie/SGR): Hi, On Sat, 20 Jun 2020, Yuriy Sydorov wrote: 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

Re: [fpc-devel] fpc trunk / parentfp for debugger / missing

2020-06-20 Thread Karoly Balogh (Charlie/SGR)
Hi, On Sat, 20 Jun 2020, Yuriy Sydorov wrote: > 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, your changes seem to have broken

Re: [fpc-devel] fpc trunk / parentfp for debugger / missing

2020-06-20 Thread Yuriy Sydorov
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 paramete

[fpc-devel] HEADS UP: fixes updated to 3.2.1

2020-06-20 Thread Marco van de Voort
Now FPC 3.2.0 has been released, the version of the fixes branch has been updated to 3.2.1. If you maintain scripts to compile/install the fixes branch, they might need adjustment ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lis

Re: [fpc-devel] fpc trunk / parentfp for debugger / missing

2020-06-20 Thread Florian Klämpfl
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

Re: [fpc-devel] fpc trunk / parentfp for debugger / missing

2020-06-20 Thread 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. > Enable it for -O2. It may be used in future to optimize unused $self. Yes. Jo

Re: [fpc-devel] fpc trunk / parentfp for debugger / missing

2020-06-20 Thread Yuriy Sydorov
On 20.06.2020 15:49, Jonas Maebe wrote: On 20/06/2020 14:31, Yuriy Sydorov wrote: On 20.06.2020 14:38, Jonas Maebe wrote: On 20/06/2020 13:15, Yuriy Sydorov wrote: On 20.06.2020 2:04, Martin wrote: I just updated to fpc trunk 45658 It seems sometime in the last 3 or 4 month a change was made

Re: [fpc-devel] fpc trunk / parentfp for debugger / missing

2020-06-20 Thread Jonas Maebe
On 20/06/2020 14:31, Yuriy Sydorov wrote: > On 20.06.2020 14:38, Jonas Maebe wrote: >> On 20/06/2020 13:15, Yuriy Sydorov wrote: >>> On 20.06.2020 2:04, Martin wrote: I just updated to fpc trunk 45658 It seems sometime in the last 3 or 4 month a change was made that leads to "pa

Re: [fpc-devel] fpc trunk / parentfp for debugger / missing

2020-06-20 Thread Yuriy Sydorov
On 20.06.2020 14:38, Jonas Maebe wrote: On 20/06/2020 13:15, Yuriy Sydorov wrote: On 20.06.2020 2:04, Martin wrote: I just updated to fpc trunk 45658 It seems sometime in the last 3 or 4 month a change was made that leads to "parentfp" being optimized away. Even with -O- or -O1 (many users do

Re: [fpc-devel] fpc trunk / parentfp for debugger / missing

2020-06-20 Thread Jonas Maebe
On 20/06/2020 13:15, Yuriy Sydorov wrote: > On 20.06.2020 2:04, Martin wrote: >> I just updated to fpc trunk 45658 >> >> It seems sometime in the last 3 or 4 month a change was made that >> leads to "parentfp" being optimized away. >> Even with -O- or -O1 (many users do O1 for debugging) > > I've

Re: [fpc-devel] fpc trunk / parentfp for debugger / missing

2020-06-20 Thread Yuriy Sydorov
On 20.06.2020 2:04, Martin wrote: I just updated to fpc trunk 45658 It seems sometime in the last 3 or 4 month a change was made that leads to "parentfp" being optimized away. Even with -O- or -O1 (many users do O1 for debugging) I've turned off optimization of parentfp when -O- in r45661. Y

[fpc-devel] FPC 3.2.0 released!

2020-06-20 Thread Marco van de Voort
Hello, Finally, the Free Pascal 3.2.0 release is available from our servers and from sourceforge. Changes that may break backwards compatibility will be documented at: http://wiki.freepascal.org/User_Changes_3.2.0. For an overview of what is new see https://wiki.freepascal.org/FPC_New_Featur