[Issue 2773] ICE(go.c) array assignment through a pointer, only with -O.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 5 03:12:08 PDT 2009


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



--- Comment #7 from Don <clugdbug at yahoo.com.au> 2009-10-05 03:12:06 PDT ---
Even simpler test case, this one fails on both D1.033 and 1.048.
int[4]* get()    {  return null; }

void main()
{
  int[4]* p = get();
  (*p)[] = 0;
  (*p)[] = 0;
}

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


More information about the Digitalmars-d-bugs mailing list