May 25, 2014 [dmd-internals] [D-Programming-Language/dmd] 22f691: The `-o-` switch should suppress code generation a... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 22f69129b910d0505fbb3cb975e229585514b98f https://github.com/D-Programming-Language/dmd/commit/22f69129b910d0505fbb3cb975e229585514b98f Author: k-hara <k.hara.pg@gmail.com> Date: 2014-05-25 (Sun, 25 May 2014) Changed paths: M src/mars.c Log Message: ----------- The `-o-` switch should suppress code generation always I noticed that `REQUIRED_ARGS: -o- does not work for compilable test suites in Windows platform. In Windows. compilable test suites are compiled with `-map null.map` switches. `-map` switch will set `global.params.oneobj = 1` even though `global.params.obj == 0`, then compilable tests will always run codegen even if `-o-` is specified. Commit: e30024d118628de5f96a397648cbf93903494b65 https://github.com/D-Programming-Language/dmd/commit/e30024d118628de5f96a397648cbf93903494b65 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-05-25 (Sun, 25 May 2014) Changed paths: M test/compilable/nogc.d R test/compilable/nogc_warn.d A test/compilable/vgc1.d A test/compilable/vgc2.d A test/compilable/vgc3.d R test/fail_compilation/nogc.d A test/fail_compilation/nogc1.d A test/fail_compilation/nogc2.d A test/fail_compilation/nogc3.d M test/runnable/nogc.d Log Message: ----------- [Refactoring] Divide test cases to compilable/vgcX.d and fail_compilation/nogcX.d Commit: 3e7c40a80feb1ad8a1301043438a5a6ec096ed21 https://github.com/D-Programming-Language/dmd/commit/3e7c40a80feb1ad8a1301043438a5a6ec096ed21 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-05-25 (Sun, 25 May 2014) Changed paths: M src/declaration.c M src/expression.c M src/nogc.c M test/compilable/vgc1.d M test/fail_compilation/nogc1.d Log Message: ----------- Today scope storage class can work only for class object allocations It's codegen limitation. See also the code in `NewExp::toElem`. Commit: dce5083778cfb960eff8b3a3a754af74801266a0 https://github.com/D-Programming-Language/dmd/commit/dce5083778cfb960eff8b3a3a754af74801266a0 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-05-25 (Sun, 25 May 2014) Changed paths: M src/expression.c M src/expression.h M src/func.c M src/nogc.c M src/statement.c M src/traits.c M test/compilable/nogc.d M test/compilable/vgc2.d M test/fail_compilation/nogc1.d M test/fail_compilation/nogc2.d M test/runnable/nogc.d Log Message: ----------- fix Issue 12642 - Avoid some heap allocation cases for fixed-size arrays Commit: 3cc8a0c1507840957485aaeee86a5bfc5e195d56 https://github.com/D-Programming-Language/dmd/commit/3cc8a0c1507840957485aaeee86a5bfc5e195d56 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-05-25 (Sun, 25 May 2014) Changed paths: M src/func.c M src/nogc.c M test/compilable/vgc1.d M test/compilable/vgc2.d M test/compilable/vgc3.d M test/fail_compilation/nogc2.d M test/fail_compilation/nogc3.d Log Message: ----------- Unify diagnostic messages Commit: b5b5ecc0afde7c60a3ea1c27a03d75e828437068 https://github.com/D-Programming-Language/dmd/commit/b5b5ecc0afde7c60a3ea1c27a03d75e828437068 Author: Walter Bright <walter@walterbright.com> Date: 2014-05-25 (Sun, 25 May 2014) Changed paths: M src/declaration.c M src/expression.c M src/expression.h M src/func.c M src/mars.c M src/nogc.c M src/statement.c M src/traits.c M test/compilable/nogc.d R test/compilable/nogc_warn.d A test/compilable/vgc1.d A test/compilable/vgc2.d A test/compilable/vgc3.d R test/fail_compilation/nogc.d A test/fail_compilation/nogc1.d A test/fail_compilation/nogc2.d A test/fail_compilation/nogc3.d M test/runnable/nogc.d Log Message: ----------- Merge pull request #3582 from 9rnsr/fix_nogc Issue 12642 - Avoid some heap allocation cases for fixed-size arrays Compare: https://github.com/D-Programming-Language/dmd/compare/99ccc90d669d...b5b5ecc0afde |
Copyright © 1999-2021 by the D Language Foundation