Bug 17695 – [Reg 2.076] ICE with vector negation

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-07-26T14:48:12Z
Last change time
2017-08-16T13:24:03Z
Assigned to
No Owner
Creator
Martin Nowak

Comments

Comment #0 by code — 2017-07-26T14:48:12Z
cat > bug.d << CODE void bug(__vector(ubyte[16]) a) { auto b = -a; } CODE dmd -c -O bug.d ---- el:0x19531a0 cnt=0 const TYunsigned char[16] 0LL+0LL Internal error: ddmd/backend/el.c 3034 ---- Happens with DMD64 D Compiler v2.075.0-master-234b414 Introduced by https://github.com/dlang/dmd/pull/7019.
Comment #1 by bugzilla — 2017-07-26T17:16:55Z
Comment #2 by github-bugzilla — 2017-07-26T21:30:43Z
Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/7ceb34a633518c75e61f858fde1fa3eb4d7c6300 fix Issue 17695 - [Reg 2.076] ICE with vector negation https://github.com/dlang/dmd/commit/6dc8c01c246c3633077ed2e7bc9d17fb0a79d896 Merge pull request #7035 from WalterBright/fix17695 fix Issue 17695 - [Reg 2.076] ICE with vector negation merged-on-behalf-of: Martin Nowak <[email protected]>
Comment #3 by github-bugzilla — 2017-08-07T13:17:41Z
Commits pushed to newCTFE at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/7ceb34a633518c75e61f858fde1fa3eb4d7c6300 fix Issue 17695 - [Reg 2.076] ICE with vector negation https://github.com/dlang/dmd/commit/6dc8c01c246c3633077ed2e7bc9d17fb0a79d896 Merge pull request #7035 from WalterBright/fix17695
Comment #4 by github-bugzilla — 2017-08-16T13:24:03Z
Commits pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/7ceb34a633518c75e61f858fde1fa3eb4d7c6300 fix Issue 17695 - [Reg 2.076] ICE with vector negation https://github.com/dlang/dmd/commit/6dc8c01c246c3633077ed2e7bc9d17fb0a79d896 Merge pull request #7035 from WalterBright/fix17695