http://d.puremagic.com/issues/show_bug.cgi?id=6189



--- Comment #9 from Don <clugd...@yahoo.com.au> 2012-05-21 06:14:16 PDT ---
Reduced test case (compile with -m64 -O):

void bug6189(int half, int[2] pos, float[3] *pts, int unused)
{
    pos[0] += half;

    (*pts)[0] = pos[0];
    (*pts)[1] = pos[1];
    (*pts)[2] = half;
}

void main()
{
    int[2] pos = [2,2];
    float[3] pts = [0.0, 0.0, 0.0];
    bug6189(0, pos, &pts, 0);
    assert(pts[0] == 2);
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to