October 27, 2010
dmd commit, revision 733


user: braddr

msg:
Revert part of r722 so that the test passes again.  Not sure why Walter removed
it since it doesn't work and never has with -O.

http://www.dsource.org/projects/dmd/changeset/733

October 27, 2010
On 27 October 2010 09:32, dsource.org <noreply at dsource.org> wrote:
> dmd commit, revision 733
>
>
> user: braddr
>
> msg:
> Revert part of r722 so that the test passes again. ?Not sure why Walter removed
> it since it doesn't work and never has with -O.
>
> http://www.dsource.org/projects/dmd/changeset/733

Could you check that that the reduced test case below fails on Linux when compiled with -O, and file it in bugzilla? It passes on Windows.

----
struct S {
    int x;
    char y;
}

void foo()
{
   S[4] w = void;
   w[$-2].x = 217;
}
----------