avoid codegen pass

Dennis dkorpel at gmail.com
Sat Oct 2 18:05:06 UTC 2021

On Saturday, 2 October 2021 at 16:57:48 UTC, max haughton wrote:
> Do you have optimizations turned on? i.e. are you compiling 
> with -O by accident?

Not needed, it's declared:
pragma(inline, true) @property _timezone() @safe const pure 
nothrow @nogc

DMD does inlining in the frontend, and without the `-inline` flag 
it still inlines functions when requested by `pragma(inline, 
true)`. That's why you see it logged even without codegen or 

That's not what causes the long compile time though, `dmd -v` 
logs passes before doing them, not after, so it's the semantic3 
before the inline pass that's taking all the time.

More information about the Digitalmars-d-learn mailing list