Bug 8592 – dmd crashing on in-function import with all optimizations turned on

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-08-26T17:28:00Z
Last change time
2015-06-09T05:14:45Z
Assigned to
nobody
Creator
maartenvd1994

Comments

Comment #0 by maartenvd1994 — 2012-08-26T17:28:52Z
dmd -O -inline -release -noboundscheck crashes with dmd: module.c:829: void Module::semantic3(): Assertion `semanticstarted == 2' failed. Afgebroken on the following: void main(){ import std.stdio; }
Comment #1 by bearophile_hugs — 2012-08-26T17:41:56Z
*** This issue has been marked as a duplicate of issue 8586 ***