January 11, 2015 [dmd-internals] [D-Programming-Language/dmd] 62316e: Move escape check code in src/escape.c | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 62316e74ed258446c3670a1206e96e285a7f6260 https://github.com/D-Programming-Language/dmd/commit/62316e74ed258446c3670a1206e96e285a7f6260 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-01-11 (Sun, 11 Jan 2015) Changed paths: A src/escape.c M src/expression.c M src/expression.h M src/func.c M src/posix.mak M src/statement.c M src/win32.mak Log Message: ----------- Move escape check code in src/escape.c Commit: 35a186ea9ce7f15de46fa684e12c738d52b6d564 https://github.com/D-Programming-Language/dmd/commit/35a186ea9ce7f15de46fa684e12c738d52b6d564 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-01-11 (Sun, 11 Jan 2015) Changed paths: M src/escape.c M src/expression.h M src/func.c M src/statement.c Log Message: ----------- Add `Scope *sc` for checkEscape(Ref)? Commit: dc6235bc932c5a829c9a69b276c93462917a8f09 https://github.com/D-Programming-Language/dmd/commit/dc6235bc932c5a829c9a69b276c93462917a8f09 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-01-11 (Sun, 11 Jan 2015) Changed paths: M src/escape.c A test/compilable/test13902.d A test/fail_compilation/fail13902.d A test/fail_compilation/fail_scope.d Log Message: ----------- fix Issue 13902 - Compiler allows escaping the address of part of a local To visualize the current scope behavior, I added fail_compilation/fail_scope.d. Commit: 848830648d7b3b5f5852aa693f94e2b4cdda0160 https://github.com/D-Programming-Language/dmd/commit/848830648d7b3b5f5852aa693f94e2b4cdda0160 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-01-11 (Sun, 11 Jan 2015) Changed paths: A test/fail_compilation/fail9537.d Log Message: ----------- fix Issue 9537 - auto ref returns a reference its own stack Commit: 0829ec3913fa27f24a1a952be7fca012126aa959 https://github.com/D-Programming-Language/dmd/commit/0829ec3913fa27f24a1a952be7fca012126aa959 Author: Walter Bright <walter@walterbright.com> Date: 2015-01-11 (Sun, 11 Jan 2015) Changed paths: A src/escape.c M src/expression.c M src/expression.h M src/func.c M src/posix.mak M src/statement.c M src/win32.mak A test/compilable/test13902.d A test/fail_compilation/fail13902.d A test/fail_compilation/fail9537.d A test/fail_compilation/fail_scope.d Log Message: ----------- Merge pull request #4277 from 9rnsr/fix13902 Issue 13902 - Compiler allows escaping the address of part of a local Compare: https://github.com/D-Programming-Language/dmd/compare/0dd8abdfb7c7...0829ec3913fa |
Copyright © 1999-2021 by the D Language Foundation