[Issue 17601] [REG2.075.0-b1] segmentation fault for dmd -deps

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Aug 3 10:50:49 PDT 2017


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

--- Comment #6 from Martin Nowak <code at dawg.eu> ---
Happens because a function ends up in the glue layer in PASSsemantic2 state
(std.range.SortedRange!(string[], "a < b").SortedRange.__xopEquals).
It's a side-effect of bluntly trying to run semantic3 on all imported modules
(https://github.com/dlang/dmd/pull/6748).
Seems like the deferred STCinference mechanism added in
https://github.com/dlang/dmd/pull/5075 isn't run for the compiler generated
__x* methods.

--


More information about the Digitalmars-d-bugs mailing list