[Issue 9745] Allow non-thread local static variables to have their address taken in CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 18 11:23:12 PDT 2013


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



--- Comment #2 from github-bugzilla at puremagic.com 2013-04-18 11:23:12 PDT ---
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/baaa2375b19f5689046bbc6334efcaca538fb637
Fix issue 9745 Allow &staticvar in CTFE

Use SymOffExp for non-dereferenceable pointers to static variables.
It's already supported in the const-folding code, now support it in
CTFE as well. This commit adds full support for pointer arithmetic.

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