ICEs on package.d module names

Iain Buclaw via D.gnu d.gnu at puremagic.com
Wed May 10 01:17:00 PDT 2017


On 10 May 2017 at 05:11, Solomon E via D.gnu <d.gnu at puremagic.com> wrote:
>
> $ gdc program.d -Isubdir subdir/first_module.d subdir/second_module.d
> cc1d: ../../src/gcc/d/dfrontend/import.c:144: void Import::load(Scope*):
> Assertion `mod->isPackageFile == (p->isPkgMod == PKGmodule)' failed.
> cc1d: internal compiler error: Aborted
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
>

I can't reproduce this, but is a front-end bug anyway, so should be
reproducible in DMD too (if you compile it without -release).


More information about the D.gnu mailing list