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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from [email protected] ---
(In reply to Johannes Pfau from comment #1)
> So where exactly is the bug?

Every ICE is always a compiler bug. It can be harmless (ie just a wrong/missing
error message), but it can also be a symptom of a real problem.

> The .init symbol is readonly so the only issue I see here is that the
> frontend allows this code to compile. But this is a bug for issues.dlang.org
> then.

      auto p = &S.init.i;
      *p = 42;

is actually accepted. And optimized away completely at >O0. :) While that is a
frontend and language problem, this bug is just about the ICE caused by the
original version.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to