September 24, 2015 [dmd-internals] [D-Programming-Language/dmd] 8e4676: fix Issue 15044 - destroy might leak memory | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 8e4676303a688ce3a034b38508b5e5b8c7bfa7e0 https://github.com/D-Programming-Language/dmd/commit/8e4676303a688ce3a034b38508b5e5b8c7bfa7e0 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-09-15 (Tue, 15 Sep 2015) Changed paths: M src/aggregate.h M src/clone.c M src/func.c M src/struct.c A test/fail_compilation/fail15044.d M test/runnable/testassign.d Log Message: ----------- fix Issue 15044 - destroy might leak memory Defer semantic3 running of generated `opAssign` function, and add special error gagging mechanism in `FuncDeclaration.semantic3()` to hide errors from its body. Commit: 664b20269a2bba779255356a30ae8c00414aa5a7 https://github.com/D-Programming-Language/dmd/commit/664b20269a2bba779255356a30ae8c00414aa5a7 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-09-15 (Tue, 15 Sep 2015) Changed paths: M src/aggregate.h M src/class.c M src/clone.c M src/declaration.h M src/func.c M src/magicport.json M src/struct.c Log Message: ----------- Fix breaking of compilable/test14838.d Add STCinference for attribute inference of opAssign/postblit/destructor. Commit: af4d3a4158f95d1720b42e8027ae2aead90c7a4f https://github.com/D-Programming-Language/dmd/commit/af4d3a4158f95d1720b42e8027ae2aead90c7a4f Author: Martin Nowak <code@dawg.eu> Date: 2015-09-14 (Mon, 14 Sep 2015) Changed paths: M src/class.c M src/clone.c M src/declaration.h M src/func.c M src/magicport.json A test/fail_compilation/fail15044.d M test/runnable/testassign.d Log Message: ----------- Merge pull request #5075 from 9rnsr/fix15044 [REG2.068.0] Issue 15044 - destroy might leak memory Commit: 1a807d16b5d8ba87dbfd4344942a6708ef516896 https://github.com/D-Programming-Language/dmd/commit/1a807d16b5d8ba87dbfd4344942a6708ef516896 Author: Martin Nowak <code@dawg.eu> Date: 2015-09-23 (Wed, 23 Sep 2015) Changed paths: M src/backend/cod2.c M test/runnable/sdtor.d Log Message: ----------- Revert "fix Issue 14708 - destructor for temporary not called during stack unwinding" This reverts commit e20c63cb28decb66c792b1dfc10d79aa0aebd7cf. # Conflicts: # test/runnable/sdtor.d Commit: 6c7069c06b8a5b3f003955ce2d908b6c928823a2 https://github.com/D-Programming-Language/dmd/commit/6c7069c06b8a5b3f003955ce2d908b6c928823a2 Author: Martin Nowak <code@dawg.eu> Date: 2015-09-23 (Wed, 23 Sep 2015) Changed paths: A test/compilable/test15056.d Log Message: ----------- add test for Issue 15056 - Unstored RAII struct return yields bogus error Commit: fc3bb59541131d8203d223dc4b5be290e7202704 https://github.com/D-Programming-Language/dmd/commit/fc3bb59541131d8203d223dc4b5be290e7202704 Author: Martin Nowak <code@dawg.eu> Date: 2015-09-23 (Wed, 23 Sep 2015) Changed paths: M test/runnable/sdtor.d Log Message: ----------- disable temporary w/ throw tests Commit: e9837b5c7a1fbf9938198abca375fcccc6a53d59 https://github.com/D-Programming-Language/dmd/commit/e9837b5c7a1fbf9938198abca375fcccc6a53d59 Author: Martin Nowak <code@dawg.eu> Date: 2015-09-23 (Wed, 23 Sep 2015) Changed paths: R changelog.dd Log Message: ----------- remove old changelog Commit: cc724f29745667a8a2ddfd408088a4100021c77a https://github.com/D-Programming-Language/dmd/commit/cc724f29745667a8a2ddfd408088a4100021c77a Author: Martin Nowak <code@dawg.eu> Date: 2015-09-23 (Wed, 23 Sep 2015) Changed paths: A changelog.dd M src/posix.mak M src/win32.mak Log Message: ----------- add changelog entry about reverting 14708 Commit: ef854c328bf8798f3154dc923d1b7115acd97c70 https://github.com/D-Programming-Language/dmd/commit/ef854c328bf8798f3154dc923d1b7115acd97c70 Author: Walter Bright <walter@walterbright.com> Date: 2015-09-23 (Wed, 23 Sep 2015) Changed paths: M changelog.dd M src/backend/cod2.c M src/posix.mak M src/win32.mak A test/compilable/test15056.d M test/runnable/sdtor.d Log Message: ----------- Merge pull request #5110 from MartinNowak/workaround15056 add test for Issue 15056 - Unstored RAII struct return yields bogus error Commit: 726e2fc7cfe674e36114aa64fb8b2365504679cf https://github.com/D-Programming-Language/dmd/commit/726e2fc7cfe674e36114aa64fb8b2365504679cf Author: k-hara <k.hara.pg@gmail.com> Date: 2015-09-24 (Thu, 24 Sep 2015) Changed paths: M changelog.dd M src/aggregate.h M src/aliasthis.c M src/arrayop.c M src/class.c M src/clone.c M src/cppmangle.c M src/declaration.c M src/declaration.h M src/dsymbol.c M src/dsymbol.h M src/e2ir.c M src/expression.c M src/expression.h M src/func.c M src/glue.c M src/inline.c M src/magicport.json M src/mtype.c M src/mtype.h M src/nogc.c M src/opover.c M src/optimize.c M src/parse.c M src/parse.h M src/statement.c M src/struct.c M src/template.c M src/template.h M src/toobj.c M src/typinf.c M test/compilable/b1215.d A test/compilable/ice12554.d A test/compilable/test14781.d A test/compilable/test14962.d A test/compilable/test14973.d A test/compilable/test15056.d M test/fail_compilation/diag9831.d R test/fail_compilation/fail1.d M test/fail_compilation/fail11545.d M test/fail_compilation/fail120.d A test/fail_compilation/fail15044.d R test/fail_compilation/fail2.d M test/fail_compilation/fail39.d M test/fail_compilation/fail9.d R test/fail_compilation/fail9148.d A test/fail_compilation/fail_opover.d R test/fail_compilation/ice12554.d A test/fail_compilation/ice14621.d A test/fail_compilation/ice14923.d A test/fail_compilation/ice14929.d A test/fail_compilation/ice15002.d M test/fail_compilation/ice9865.d M test/runnable/aliasthis.d A test/runnable/extra-files/linkdebug.d A test/runnable/extra-files/linkdebug_primitives.d A test/runnable/extra-files/linkdebug_range.d A test/runnable/extra-files/linkdebug_uni.d M test/runnable/extra-files/test14198.d A test/runnable/ice15030.d A test/runnable/imports/a15030.d A test/runnable/imports/b15030.d A test/runnable/imports/linktypeinfo_file.d A test/runnable/imports/std15017variant.d A test/runnable/imports/std15021conv.d A test/runnable/imports/std15021format.d A test/runnable/imports/std15030algo.d A test/runnable/imports/test14901a.d A test/runnable/imports/test14901b.d A test/runnable/imports/test14901c.d A test/runnable/imports/test14901d.d M test/runnable/link14198b.sh A test/runnable/link15017.d A test/runnable/link15021.d A test/runnable/linkdebug.sh A test/runnable/linktypeinfo.d M test/runnable/opover2.d M test/runnable/sctor.d M test/runnable/sdtor.d A test/runnable/test14901.d M test/runnable/testassign.d Log Message: ----------- Merge remote-tracking branch 'upstream/stable' into merge_stable_convert Conflicts: changelog.dd src/opover.c src/posix.mak test/runnable/sdtor.d Commit: 8f1188ab70d1019b2e27a0fbfa4723948f70a581 https://github.com/D-Programming-Language/dmd/commit/8f1188ab70d1019b2e27a0fbfa4723948f70a581 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-09-24 (Thu, 24 Sep 2015) Changed paths: R src/access.c A src/access.d A src/aggregate.d R src/aliasthis.c A src/aliasthis.d R src/apply.c A src/apply.d R src/argtypes.c A src/argtypes.d R src/arrayop.c A src/arrayop.d A src/arraytypes.d R src/attrib.c A src/attrib.d R src/builtin.c A src/builtin.d R src/canthrow.c A src/canthrow.d R src/cast.c R src/class.c R src/clone.c A src/clone.d R src/cond.c A src/cond.d R src/constfold.c A src/constfold.d R src/cppmangle.c A src/cppmangle.d R src/ctfeexpr.c A src/ctfeexpr.d A src/dcast.d A src/dclass.d R src/declaration.c A src/declaration.d R src/delegatize.c A src/delegatize.d A src/denum.d A src/dimport.d A src/dinifile.d A src/dinterpret.d A src/dmacro.d A src/dmangle.d A src/dmodule.d R src/doc.c A src/doc.d A src/dscope.d A src/dstruct.d R src/dsymbol.c A src/dsymbol.d A src/dtemplate.d A src/dunittest.d A src/dversion.d R src/entity.c R src/enum.c R src/errors.c A src/errors.d R src/escape.c A src/escape.d R src/expression.c A src/expression.d R src/func.c A src/func.d R src/globals.c A src/globals.d R src/hdrgen.c A src/hdrgen.d R src/identifier.c A src/identifier.d R src/imphint.c A src/imphint.d R src/import.c R src/inifile.c R src/init.c A src/init.d R src/inline.c A src/inline.d R src/interpret.c R src/intrange.c R src/json.c A src/json.d R src/lexer.c A src/lexer.d A src/lib.d R src/link.c A src/link.d R src/macro.c R src/mangle.c R src/mars.c A src/mars.d R src/module.c R src/mtype.c A src/mtype.d R src/nogc.c A src/nogc.d R src/nspace.c A src/nspace.d R src/objc.c A src/objc.d R src/objc_stubs.c R src/opover.c A src/opover.d R src/optimize.c A src/optimize.d R src/parse.c A src/parse.d R src/root/aav.c A src/root/aav.d R src/root/async.c R src/root/async.h R src/root/checkedint.c R src/root/checkedint.h R src/root/file.c A src/root/file.d R src/root/filename.c A src/root/filename.d R src/root/longdouble.c R src/root/man.c A src/root/man.d R src/root/object.c R src/root/outbuffer.c A src/root/outbuffer.d R src/root/port.c R src/root/response.c A src/root/response.d R src/root/rmem.c R src/root/speller.c A src/root/speller.d R src/root/stringtable.c A src/root/stringtable.d R src/sapply.c A src/sapply.d R src/scope.c R src/sideeffect.c A src/sideeffect.d R src/statement.c A src/statement.d R src/staticassert.c A src/staticassert.d R src/struct.c R src/target.c A src/target.d R src/template.c R src/tokens.c A src/tokens.d R src/traits.c A src/traits.d R src/unittests.c R src/utf.c A src/utf.d R src/version.c A src/visitor.d Log Message: ----------- convert C++ -> D Commit: 61c91dcb977f5fcd858c6a6630543ae8491f6d67 https://github.com/D-Programming-Language/dmd/commit/61c91dcb977f5fcd858c6a6630543ae8491f6d67 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-09-24 (Thu, 24 Sep 2015) Changed paths: M changelog.dd M src/backend/cod2.c M src/clone.d M src/dclass.d M src/declaration.d M src/declaration.h M src/func.d A test/compilable/test15056.d A test/fail_compilation/fail15044.d M test/runnable/sdtor.d M test/runnable/testassign.d Log Message: ----------- Merge branch 'merge_stable_convert' into merge_stable Conflicts: src/access.d src/aggregate.d src/aliasthis.d src/apply.d src/argtypes.d src/arrayop.d src/arraytypes.d src/attrib.d src/builtin.d src/canthrow.d src/clone.d src/cond.d src/constfold.d src/cppmangle.d src/ctfeexpr.d src/dcast.d src/dclass.d src/declaration.d src/declaration.h src/delegatize.d src/denum.d src/dimport.d src/dinifile.d src/dinterpret.d src/dmacro.d src/dmangle.d src/dmodule.d src/doc.d src/dscope.d src/dstruct.d src/dsymbol.d src/dtemplate.d src/dunittest.d src/dversion.d src/errors.d src/escape.d src/expression.d src/func.d src/globals.d src/hdrgen.d src/identifier.d src/init.d src/inline.d src/json.d src/lexer.d src/lib.d src/link.d src/magicport.json src/mars.d src/mtype.d src/nogc.d src/nspace.d src/objc.d src/opover.d src/optimize.d src/parse.d src/root/file.d src/root/filename.d src/root/man.d src/root/outbuffer.d src/root/speller.d src/sapply.d src/sideeffect.d src/statement.d src/staticassert.d src/target.d src/tokens.d src/traits.d src/visitor.d test/runnable/sdtor.d Commit: f8777b985261b68987c00b4fb2dd0430d5cf0933 https://github.com/D-Programming-Language/dmd/commit/f8777b985261b68987c00b4fb2dd0430d5cf0933 Author: Martin Nowak <code@dawg.eu> Date: 2015-09-24 (Thu, 24 Sep 2015) Changed paths: M changelog.dd M src/backend/cod2.c M src/clone.d M src/dclass.d M src/declaration.d M src/declaration.h M src/func.d A test/compilable/test15056.d A test/fail_compilation/fail15044.d M test/runnable/sdtor.d M test/runnable/testassign.d Log Message: ----------- Merge pull request #5115 from 9rnsr/merge_stable Merge branch 'merge_stable_convert' into merge_stable Compare: https://github.com/D-Programming-Language/dmd/compare/cf7204e8df17...f8777b985261 |
Copyright © 1999-2021 by the D Language Foundation