Bug 7565 – ICE(cg87):202, postincrement of a double parameter, 64-bit only

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
All
Creation time
2012-02-22T19:03:00Z
Last change time
2013-10-07T00:18:49Z
Keywords
ice
Assigned to
nobody
Creator
dsimcha

Comments

Comment #0 by dsimcha — 2012-02-22T19:03:25Z
struct BasicMatrix( Storage_ ) { double opIndexAssign( double rhs, size_t i, size_t j ) { return rhs; } } void main() { auto a = BasicMatrix!( double )(); double k = 0.0; a[ 0, 0 ] = k ++; } $ dmd test.d -m64 Internal error: ../ztc/cg87.c 202 $ dmd test.d -m32 (success)
Comment #1 by clugdbug — 2012-05-09T01:07:16Z
Reduced test case: void bug7565( double x) { } void ice7565() { double y; bug7565( y++ ); }
Comment #2 by bugzilla — 2013-10-03T00:02:12Z
Comment #3 by github-bugzilla — 2013-10-03T01:08:04Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/33b2af735574034d5876419807ca74e729121b81 fix Issue 7565 - ICE(cg87):202, postincrement of a double parameter, 64-bit only https://github.com/D-Programming-Language/dmd/commit/1d91f0a0d791227f2e120e2da0b9efc81ecb6ae4 Merge pull request #2622 from WalterBright/fix7565 fix Issue 7565 - ICE(cg87):202, postincrement of a double parameter, 64-...
Comment #4 by github-bugzilla — 2013-10-04T12:06:53Z
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/88c89c1bcad1210e3a86e649c324b3fe43c4b6f1 Merge pull request #2622 from WalterBright/fix7565 fix Issue 7565 - ICE(cg87):202, postincrement of a double parameter, 64-...
Comment #5 by bugzilla — 2013-10-07T00:18:49Z
*** Issue 10923 has been marked as a duplicate of this issue. ***