Bug 7436 – ICE(cg87.c) ubyte = ubyte op= float

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-02-04T09:43:00Z
Last change time
2017-06-25T09:50:50Z
Keywords
ice
Assigned to
nobody
Creator
yebblies

Comments

Comment #0 by yebblies — 2012-02-04T09:43:14Z
void main() { ubyte r, a; float b; r = a += b; } Same with any floating point type and any integral type sz < 4.
Comment #1 by bugzilla — 2013-10-02T14:43:53Z
Comment #2 by github-bugzilla — 2013-10-08T21:31:18Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/73fbdcbe75bf9e46e9b34a087196cfea03145990 fix Issue 7436 - ICE(cg87.c) ubyte = ubyte op= float https://github.com/D-Programming-Language/dmd/commit/152c392fae0dc7ce115553f9d0255d750637c6a4 Merge pull request #2618 from WalterBright/fix7436 fix Issue 7436 - ICE(cg87.c) ubyte = ubyte op= float
Comment #3 by github-bugzilla — 2013-10-08T22:00:52Z
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c5a9b209cd105be9392ea46b180ceddc2c3ac97b Merge pull request #2618 from WalterBright/fix7436 fix Issue 7436 - ICE(cg87.c) ubyte = ubyte op= float
Comment #4 by k.hara.pg — 2015-02-16T17:55:46Z
Not all cases are fixed. See the disabled test cases in test/compilable/testexpression.d.
Comment #5 by dlang-bugzilla — 2017-06-25T09:50:50Z
(In reply to Kenji Hara from comment #4) > Not all cases are fixed. See the disabled test cases in > test/compilable/testexpression.d. Bisection shows that the remaining cases were fixed (by you) in https://github.com/dlang/dmd/pull/4415.