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:
```D
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 `-inline`.

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.

Reply via email to