[fpc-devel] new features and facilities

Sven Barth pascaldragon at googlemail.com
Tue Oct 13 08:08:05 CEST 2015


Am 12.10.2015 23:29 schrieb "Marco van de Voort" <marcov at stack.nl>:
>
> In our previous episode, Dmitry Boyarintsev said:
> > On Mon, Oct 12, 2015 at 4:01 PM, Marco van de Voort <marcov at stack.nl>
wrote:
> >
> > > (ifthen clashes name with the delphi functions of the same name in a
much
> > > used unit as math, the name should be different but the intrinsic
principle
> > > IMHO is best)
> > >
> > But they're inline functions. Thus when inline-d into the code, they're
> > acting as intrinsic.
>
> Are they? It sounds dangerous to me that inlining would suddenly not
> evaluate functions anymore.

It's should not be the case with functions, but with the right optimization
settings the compiler might optimize away statements/expressions that
otherwise would have generated exceptions.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20151013/d24a2edd/attachment.html>


More information about the fpc-devel mailing list