[fpc-devel] Does FPC optimize unused parameters ?
jonas.maebe at elis.ugent.be
Fri Aug 24 13:48:33 CEST 2012
Martin wrote on Fri, 24 Aug 2012:
> On 24/08/2012 12:04, Jonas Maebe wrote:
>> Martin wrote on Fri, 24 Aug 2012:
> The above takes the first of the overloaded.
> All bodies are empty.
> procedure DebugLn(const s: string = ''); inline; overload;
That looks like a very serious bug introduced in the handling of
parameters to inlined routines. Florian changed several things there
over the last couple of months, maybe he has an idea.
More information about the fpc-devel