[dmd-internals] [D-Programming-Language/dmd] c42dce: Fix issue 7790 [CTFE] assignment to AA apply ref a...
GitHub
noreply at github.com
Thu Apr 18 11:22:55 PDT 2013
Branch: refs/heads/dmd-1.x
Home: https://github.com/D-Programming-Language/dmd
Commit: c42dcec4f053ffa65feb278d09efb701fabc6fa0
https://github.com/D-Programming-Language/dmd/commit/c42dcec4f053ffa65feb278d09efb701fabc6fa0
Author: Don Clugston <emailsdontbelong at inarepository.com>
Date: 2013-04-18 (Thu, 18 Apr 2013)
Changed paths:
M src/interpret.c
Log Message:
-----------
Fix issue 7790 [CTFE] assignment to AA apply ref argument
1. IndexExp: Stop copying the AA whenever it is indexed (This was horrific for
performance, as well as being wrong).
2. aaApply: If the value is 'ref', create a reference to the value.
Commit: 41bc0a847e8390a5c8ae61f013a1b8dc7926a863
https://github.com/D-Programming-Language/dmd/commit/41bc0a847e8390a5c8ae61f013a1b8dc7926a863
Author: Don Clugston <emailsdontbelong at inarepository.com>
Date: 2013-04-18 (Thu, 18 Apr 2013)
Changed paths:
M src/ctfe.h
M src/ctfeexpr.c
M src/interpret.c
Log Message:
-----------
Fix issue 9170 CTFE: Allow reinterpret casts float <-> int
Only allows the special case *(cast(U*))&e, where e is an expression
of type T, T.sizeof == U.sizeof, one type is integral
(int, uint, long, ulong) and the other is floating point (float,
double, ifloat, idouble).
Purpose: allow implementation of HalfFloat.
Commit: d5b139e2685657200b520946f1a5b9117510b272
https://github.com/D-Programming-Language/dmd/commit/d5b139e2685657200b520946f1a5b9117510b272
Author: Don Clugston <emailsdontbelong at inarepository.com>
Date: 2013-04-18 (Thu, 18 Apr 2013)
Changed paths:
M src/interpret.c
Log Message:
-----------
Fix issue 9236 CTFE ice on switch + with(EnumType)
When it's with(Type), dont try to interpret it, it's a no-op.
Commit: c3a9411507a9971c9471e29ca1898bab73f71352
https://github.com/D-Programming-Language/dmd/commit/c3a9411507a9971c9471e29ca1898bab73f71352
Author: k-hara <k.hara.pg at gmail.com>
Date: 2013-04-18 (Thu, 18 Apr 2013)
Changed paths:
M src/interpret.c
Log Message:
-----------
fix Issue 9338 - Compiler segfaults if try to CTFE member function without valid 'this'
Commit: baaa2375b19f5689046bbc6334efcaca538fb637
https://github.com/D-Programming-Language/dmd/commit/baaa2375b19f5689046bbc6334efcaca538fb637
Author: Don Clugston <emailsdontbelong at inarepository.com>
Date: 2013-04-18 (Thu, 18 Apr 2013)
Changed paths:
M src/ctfeexpr.c
M src/interpret.c
Log Message:
-----------
Fix issue 9745 Allow &staticvar in CTFE
Use SymOffExp for non-dereferenceable pointers to static variables.
It's already supported in the const-folding code, now support it in
CTFE as well. This commit adds full support for pointer arithmetic.
Commit: fc4aae260f2ee92b652680adc8f1f933c43d1ffd
https://github.com/D-Programming-Language/dmd/commit/fc4aae260f2ee92b652680adc8f1f933c43d1ffd
Author: Don Clugston <emailsdontbelong at inarepository.com>
Date: 2013-04-18 (Thu, 18 Apr 2013)
Changed paths:
M src/interpret.c
Log Message:
-----------
Fix issue 9445 ICE(interpret.c) calling parameter in CTFE
Typo: should be checking variable has a value, not getting the value
(which will ICE if it has no value).
Commit: a2827ac247fc057f79df7ad4f7ea07240f106595
https://github.com/D-Programming-Language/dmd/commit/a2827ac247fc057f79df7ad4f7ea07240f106595
Author: Walter Bright <walter at walterbright.com>
Date: 2013-04-18 (Thu, 18 Apr 2013)
Changed paths:
M src/ctfe.h
M src/ctfeexpr.c
M src/interpret.c
Log Message:
-----------
Merge pull request #1908 from donc/d1_ctfe_sixbugs
D1 ONLY: Merge six CTFE bugfixes from D2
Compare: https://github.com/D-Programming-Language/dmd/compare/0f51786dff97...a2827ac247fc
More information about the dmd-internals
mailing list