Strange inlining behaviour
John Colvin
john.loughran.colvin at gmail.com
Tue Feb 2 20:43:28 UTC 2021
On Tuesday, 2 February 2021 at 20:42:38 UTC, John Colvin wrote:
> https://d.godbolt.org/z/r8Gj1b
>
> Very odd results, or at least they seem odd to me. Lambdas
> being treated differently to nested functions, behaviour being
> different depending on whether there is a `pragma(inline,
> false)` function to forward to? Also, different behaviour
> depending on whether the `pragma(inline, false)` is inside or
> outside the function!
>
> [...]
see also https://github.com/ldc-developers/ldc/issues/3652
More information about the D.gnu
mailing list