Thread overview
[Issue 19790] ICE dmd/dimport.d(168): Assertion failure
Apr 09
RazvanN
Jul 05
Basile-z
April 06
https://issues.dlang.org/show_bug.cgi?id=19790

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw@gdcproject.org

--- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Command to reproduce: dmd a/pkg/c.d

--
April 09
https://issues.dlang.org/show_bug.cgi?id=19790

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305@gmail.com

--- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> ---
What version of dmd are you using? I cannot reproduce on git HEAD master branch.

--
April 15
https://issues.dlang.org/show_bug.cgi?id=19790

--- Comment #3 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Always a good sign when someone doesn't test the compiler with asserts enabled.

--
April 15
https://issues.dlang.org/show_bug.cgi?id=19790

--- Comment #4 from Iain Buclaw <ibuclaw@gdcproject.org> ---
This is what you should see if you compile without ENABLE_RELEASE=1.

---
ERROR: This is a compiler bug.
Please report it via https://issues.dlang.org/enter_bug.cgi
with, preferably, a reduced, reproducible example and the information below.
DustMite (https://github.com/CyberShadow/DustMite/wiki) can help with the
reduction.
---
DMD %.*s
predefs   DigitalMars Posix linux ELFv1 CRuntime_Glibc CppRuntime_Gcc
LittleEndian D_Version2 all D_SIMD D_InlineAsm_X86_64 X86_64 D_LP64 D_PIC
assert D_ModuleInfo D_Exceptions D_TypeInfo D_HardFloat
binary    ../generated/linux/release/64/dmd
version   v2.085.1-beta.1-444-g07f379f49
config    ../generated/linux/release/64/dmd.conf
DFLAGS    -I../generated/linux/release/64/../../../../../druntime/import
-I../generated/linux/release/64/../../../../../phobos
-L-L../generated/linux/release/64/../../../../../phobos/generated/linux/release/64
-L--export-dynamic -fPIC
---
core.exception.AssertError@dmd/dimport.d(168): Assertion failure
----------------
??:? _d_assertp [0x3c41a361]
dmd/dimport.d:168 Import::load(Scope*) [0x3c1e5d5b]
dmd/dimport.d:214 Import::importAll(Scope*) [0x3c1e5fa4]
dmd/dmodule.d:1036 Module::importAll(Scope*) [0x3c202a37]
dmd/dimport.d:217 Import::importAll(Scope*) [0x3c1e5fca]
dmd/dmodule.d:1036 Module::importAll(Scope*) [0x3c202a37]
dmd/mars.d:559 int dmd.mars.tryMain(ulong, const(char)**, ref
dmd.globals.Param) [0x3c2bbc16]
dmd/mars.d:925 _Dmain [0x3c2bd35d]

--
July 05
https://issues.dlang.org/show_bug.cgi?id=19790

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
                 CC|                            |b2.temp@gmx.com

--