[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
Sat Mar 30 21:52:08 PDT 2013


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



--- Comment #1 from github-bugzilla at puremagic.com 2013-03-30 21:52:05 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/aa0ec787714dff32a83d2666eaf3e2e07454e254
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