[Issue 23435] Add Flag To Disable All Inlining

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 26 06:30:06 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23435

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
Given the history of dismissing the addition of CLI options, I think that this
bug report has a small chance of being fixed. However, as a workaround you
could define an `enum INLINE=true` and use `pragma(inline, INLINE)` instead of
`pragma(inline, true)`. That way, you can just switch the INLINE to false when
you don't want the compiler to do any inlining.

--


More information about the Digitalmars-d-bugs mailing list