[dmd-internals] [D-Programming-Language/dmd] 40755e: Issue 6497 - [safeD] Can take address of local var...
GitHub
noreply at github.com
Sat Jul 14 20:12:42 PDT 2012
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: 40755eef0bbc746375aec08e7b66d4196a100c38
https://github.com/D-Programming-Language/dmd/commit/40755eef0bbc746375aec08e7b66d4196a100c38
Author: Daniel Murphy <yebblies at gmail.com>
Date: 2012-04-13 (Fri, 13 Apr 2012)
Changed paths:
M src/expression.c
A test/fail_compilation/fail6497.d
M test/runnable/testsafe.d
Log Message:
-----------
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
Commit: fe4ea16128943196247b28e0ccc804c69e52d255
https://github.com/D-Programming-Language/dmd/commit/fe4ea16128943196247b28e0ccc804c69e52d255
Author: Hara Kenji <k.hara.pg+dev at gmail.com>
Date: 2012-07-14 (Sat, 14 Jul 2012)
Changed paths:
M src/expression.c
A test/fail_compilation/fail6497.d
M test/runnable/testsafe.d
Log Message:
-----------
Merge pull request #664 from yebblies/issue6497
Issue 6497 - [safeD] Can take address of local variable through ?:
Compare: https://github.com/D-Programming-Language/dmd/compare/6e48a67baa70...fe4ea1612894
More information about the dmd-internals
mailing list