Bug 23462 – dmd: src/dmd/backend/cod2.d:2158: Assertion cast(int)tysize((*e).Ety) <= REGSIZE() failed

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
All
Creation time
2022-11-05T16:11:27Z
Last change time
2022-11-06T07:59:11Z
Keywords
ice-on-valid-code, pull, SIMD
Assigned to
No Owner
Creator
Iain Buclaw
See also
https://issues.dlang.org/show_bug.cgi?id=23461

Comments

Comment #0 by ibuclaw — 2022-11-05T16:11:27Z
alias int4 = __vector(int[4]); int4 notMask(int4 a) { return a == 0; }
Comment #1 by dlang-bot — 2022-11-06T06:36:26Z
@WalterBright created dlang/dmd pull request #14623 "fix Issue 23462 - dmd: src/dmd/backend/cod2.d:2158: Assertion cast(in…" fixing this issue: - fix Issue 23462 - dmd: src/dmd/backend/cod2.d:2158: Assertion cast(int)tysize((*e).Ety) <= REGSIZE() failed https://github.com/dlang/dmd/pull/14623
Comment #2 by dlang-bot — 2022-11-06T07:59:11Z
dlang/dmd pull request #14623 "fix Issue 23462 - dmd: src/dmd/backend/cod2.d:2158: Assertion cast(in…" was merged into master: - 3537f0a2c0fed4d105e252124c12144a8fc7ae4e by Walter Bright: fix Issue 23462 - dmd: src/dmd/backend/cod2.d:2158: Assertion cast(int)tysize((*e).Ety) <= REGSIZE() failed https://github.com/dlang/dmd/pull/14623