[Bug 128] ICE in toSymbol, at d/d-decls.cc:71

via D.gnu d.gnu at puremagic.com
Sat May 31 09:26:38 PDT 2014


http://bugzilla.gdcproject.org/show_bug.cgi?id=128

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> ---
This ICE is intentional as I did not at the time anticipate any problems, but
put in an ICE just incase.

// Any other kind of symbol should have their csym set.
// If this is an unexpected import, the compiler will throw an error.


As you can tell from the backtrace:

0x65a2b7 Dsymbol::toSymbol()
0x65a4f2 Dsymbol::toImport()
0x66ab71 Dsymbol::toObjFile(int)

It's attempting to generate code in parts of the compiler that was never meant
for this.

I won't be wanting to complicate this section any more than what it already is,
however then eventual move for toSymbol, toObjFile and toImport to a visitor
would resolve this.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20140531/a943ef35/attachment.html>


More information about the D.gnu mailing list