Bug 23085 – [ICE] dmd: src/dmd/backend/cod1.d:1933: Assertion `retregs & BYTEREGS' failed.

Status
RESOLVED
Resolution
DUPLICATE
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2022-05-04T08:38:32Z
Last change time
2022-05-06T21:11:19Z
Keywords
backend, SIMD
Assigned to
No Owner
Creator
Iain Buclaw
See also
https://issues.dlang.org/show_bug.cgi?id=23077, https://issues.dlang.org/show_bug.cgi?id=23084

Comments

Comment #0 by ibuclaw — 2022-05-04T08:38:32Z
float bug(float x) { byte i = *cast(byte*)&x; ++i; return *cast(float*)&i; }
Comment #1 by ibuclaw — 2022-05-06T21:11:19Z
*** This issue has been marked as a duplicate of issue 23077 ***