June 05, 2013 [dmd-internals] [D-Programming-Language/dmd] 362631: CTFE: Typo in typecheck for casts of AddrExp point... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 36263109714140d1a74e16813ca0d39fa22fecec https://github.com/D-Programming-Language/dmd/commit/36263109714140d1a74e16813ca0d39fa22fecec Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2013-06-04 (Tue, 04 Jun 2013) Changed paths: M src/interpret.c Log Message: ----------- CTFE: Typo in typecheck for casts of AddrExp pointers Was checking the pointer type instead of the pointee type. Exposed by Test75 in interpret3.d in test suite, when using CTFE to do const folding. Commit: fa74ec572e0aa71a6ec828cb1b30fdc2fdd128ec https://github.com/D-Programming-Language/dmd/commit/fa74ec572e0aa71a6ec828cb1b30fdc2fdd128ec Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2013-06-04 (Tue, 04 Jun 2013) Changed paths: M src/interpret.c Log Message: ----------- CTFE: &global -> SymOffExp optimize() changes AddrExp(globalvar) into a SymOffExp. But optimize() isn't always called before CTFE, so do it here too. Commit: 337e7741112f2ecaaabac93229d5cff1fdf468fc https://github.com/D-Programming-Language/dmd/commit/337e7741112f2ecaaabac93229d5cff1fdf468fc Author: David Nadlinger <code@klickverbot.at> Date: 2013-06-05 (Wed, 05 Jun 2013) Changed paths: M src/interpret.c Log Message: ----------- Merge pull request #2133 from donc/ctfe_internal_fixes Two more CTFE internal fixes relating to pointers Compare: https://github.com/D-Programming-Language/dmd/compare/aab78eb414b4...337e7741112f |
Copyright © 1999-2021 by the D Language Foundation