July 14, 2012 [dmd-internals] [D-Programming-Language/dmd] 9d6bc4: Fix issue 7894 [CTFE] - goto within ForStatement r... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 9d6bc4560c3554b866f4bc8c6ace50b56c091953 https://github.com/D-Programming-Language/dmd/commit/9d6bc4560c3554b866f4bc8c6ace50b56c091953 Author: Don Clugston <don.clugston@sociomantic.com> Date: 2012-07-09 (Mon, 09 Jul 2012) Changed paths: M src/interpret.c M test/compilable/interpret3.d Log Message: ----------- Fix issue 7894 [CTFE] - goto within ForStatement restarts loop Also fixes a very similar bug in do-while loops Commit: 888ebe9d1228d39ea177925a656febd64286b705 https://github.com/D-Programming-Language/dmd/commit/888ebe9d1228d39ea177925a656febd64286b705 Author: Don Clugston <don.clugston@sociomantic.com> Date: 2012-07-09 (Mon, 09 Jul 2012) Changed paths: M src/interpret.c Log Message: ----------- CTFE: Remove goto from ForStatement::interpret It's not necessary. Commit: 6e48a67baa70fa765d30781592954f580bafc6fb https://github.com/D-Programming-Language/dmd/commit/6e48a67baa70fa765d30781592954f580bafc6fb Author: Walter Bright <walter@walterbright.com> Date: 2012-07-14 (Sat, 14 Jul 2012) Changed paths: M src/interpret.c M test/compilable/interpret3.d Log Message: ----------- Merge pull request #1041 from donc/ctfe7894goto 7894 - CTFE wrong code for goto inside ForStatement or do-while. Compare: https://github.com/D-Programming-Language/dmd/compare/c56169b1fb0c...6e48a67baa70 |
Copyright © 1999-2021 by the D Language Foundation