D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 17677 - [REG 2.073.0] ICE when adding ulong to cfloat
Summary: [REG 2.073.0] ICE when adding ulong to cfloat
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 All
: P1 regression
Assignee: No Owner
URL:
Keywords: ice, SIMD
Depends on:
Blocks:
 
Reported: 2017-07-23 19:32 UTC by Rainer Schuetze
Modified: 2017-08-16 13:20 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Rainer Schuetze 2017-07-23 19:32:54 UTC
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 Vladimir Panteleev 2017-07-26 09:15:26 UTC
Introduced in https://github.com/dlang/dmd/pull/6238
Comment 2 Walter Bright 2017-08-07 00:37:34 UTC
https://github.com/dlang/dmd/pull/7068
Comment 3 github-bugzilla 2017-08-07 09:47:23 UTC
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 github-bugzilla 2017-08-16 13:20:06 UTC
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