Bug 8586 – [ICE] (module.c, line 829) with -noboundscheck and local import

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-08-25T18:53:00Z
Last change time
2013-01-10T07:32:51Z
Keywords
ice
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2012-08-25T18:53:39Z
void main() { import std.stdio; writeln(); } Compiled with: dmd -release -inline -noboundscheck test.d DMD 2.061alpha: Assertion failure: 'semanticstarted == 2' on line 829 in file 'module.c'
Comment #1 by bearophile_hugs — 2012-08-26T17:41:56Z
*** Issue 8592 has been marked as a duplicate of this issue. ***
Comment #2 by kekeniro2 — 2012-10-17T11:07:57Z
*** Issue 8835 has been marked as a duplicate of this issue. ***
Comment #3 by kekeniro2 — 2012-10-17T11:10:49Z
*** Issue 7284 has been marked as a duplicate of this issue. ***
Comment #4 by andrej.mitrovich — 2013-01-10T05:50:57Z
Can't reproduce in 2.061 release.
Comment #5 by jens.k.mueller — 2013-01-10T07:32:51Z
Me neither. Tested on Linux.