[Bug 151] ICE in gimplify_expr, at gimplify.c:8538

via D.gnu d.gnu at puremagic.com
Wed Aug 20 06:53:39 PDT 2014


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

--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject.org> ---
Seconded.  ICE's are either codegen bugs for valid code, or bad codegen that
should have been stopped at semantic passes.

I'd probably put this into the former.

While the code:

*&S.init.i = 42;

Looks as though you are trying to alter the default initialiser, this is not
actually the case.  .init is a getter @property, not a field.  It should
compile to some sort of code resembling this:

(*&(_tmp = S.init)).i = 42;

Which is a noop under optimisations as the _tmp variable is not used (read).

-- 
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/20140820/06529b18/attachment.html>


More information about the D.gnu mailing list