[Issue 9113] ICE(interpret.c): CTFE assignment to member of struct in union

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 5 02:14:56 PST 2012


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



--- Comment #1 from Don <clugdbug at yahoo.com.au> 2012-12-05 02:14:37 PST ---
This is quite amazing, the semantic pass turns the function body into:
{
  U9113 x = 0;
  y = 10;
  return 1;
}

CTFE is complaining (correctly) that y was not declared. I'm not sure how this
gets past code generation.

-- 
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