art.08.09@gmail.com changed bug 151
What Removed Added
CC   art.08.09@gmail.com

Comment # 2 on bug 151 from
(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: