[Issue 6497] [safeD] Can take address of local variable through ?:

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 14 20:13:00 PDT 2012


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



--- Comment #2 from github-bugzilla at puremagic.com 2012-07-14 20:12:56 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/40755eef0bbc746375aec08e7b66d4196a100c38
Issue 6497 - [safeD] Can take address of local variable through ?:

If the compiler rewrote `&(a ? b : c)` to `&*(a ? &b : &c)`, re-run semantic on
the `AddrExp`s to ensure they don't take addresses of local variables.

Fixes issue 6497

https://github.com/D-Programming-Language/dmd/commit/fe4ea16128943196247b28e0ccc804c69e52d255
Merge pull request #664 from yebblies/issue6497

Issue 6497 - [safeD] Can take address of local variable through ?:

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