June 11, 2012 [dmd-internals] [D-Programming-Language/dmd] 65aa89: Fix issue 8216 CTFE should allow 'pointer is insid... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 65aa891c4891f4aa3a7d9ddee6b9c41a90ceaa4b https://github.com/D-Programming-Language/dmd/commit/65aa891c4891f4aa3a7d9ddee6b9c41a90ceaa4b Author: Don Clugston <don.clugston@sociomantic.com> Date: 2012-06-11 (Mon, 11 Jun 2012) Changed paths: M src/expression.h M src/interpret.c M test/compilable/interpret3.d Log Message: ----------- Fix issue 8216 CTFE should allow 'pointer is inside range' comparisons Allows comparisons between pointers to unrelated memory blocks as long as both directions are checked within a single && or || expression. Never allows the ordering to be exposed to user code. (In fact, internally there isn't any ordering!) Commit: 9a70c56ba3d18d5aa512a88b0e820ef3ef95b191 https://github.com/D-Programming-Language/dmd/commit/9a70c56ba3d18d5aa512a88b0e820ef3ef95b191 Author: Walter Bright <walter@walterbright.com> Date: 2012-06-11 (Mon, 11 Jun 2012) Changed paths: M src/expression.h M src/interpret.c M test/compilable/interpret3.d Log Message: ----------- Merge pull request #998 from donc/8216pointerInsideCTFE Fix issue 8216 CTFE should allow 'pointer is inside range' comparisons Compare: https://github.com/D-Programming-Language/dmd/compare/35defc3...9a70c56 |
Copyright © 1999-2021 by the D Language Foundation