Bug 17677 – [REG 2.073.0] ICE when adding ulong to cfloat

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
All
Creation time
2017-07-23T19:32:54Z
Last change time
2017-08-16T13:20:06Z
Keywords
ice, SIMD
Assigned to
No Owner
Creator
Rainer Schuetze

Comments

Comment #0 by r.sagitario — 2017-07-23T19:32:54Z
This took a couple of hours to dustmite & manually reduce from the vdparser-benchmark in druntime: void foo() { cfloat v2; ulong v1; auto z = v2 + v1; } compile with dmd 2.075 with "-m64" yields: Internal error: ddmd\backend\cg87.c 3680 The same happens with substraction, but not with multiplication. This compiles with dmd 2.072 or with -m32.
Comment #1 by dlang-bugzilla — 2017-07-26T09:15:26Z
Comment #2 by bugzilla — 2017-08-07T00:37:34Z
Comment #3 by github-bugzilla — 2017-08-07T09:47:23Z
Commits pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/3beb40529419c03b6343aa985119eb7546a7aef8 fix Issue 17677 - [REG 2.073.0] ICE when adding ulong to cfloat https://github.com/dlang/dmd/commit/ced8dd5753c1d431506192117e4b6ebf75e19d58 Merge pull request #7068 from WalterBright/fix17677 fix Issue 17677 - [REG 2.073.0] ICE when adding ulong to cfloat
Comment #4 by github-bugzilla — 2017-08-16T13:20:06Z
Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/3beb40529419c03b6343aa985119eb7546a7aef8 fix Issue 17677 - [REG 2.073.0] ICE when adding ulong to cfloat https://github.com/dlang/dmd/commit/ced8dd5753c1d431506192117e4b6ebf75e19d58 Merge pull request #7068 from WalterBright/fix17677