Bug 11442 – [CTFE] Bitwise struct comparison don't work for struct with float

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-11-05T01:19:00Z
Last change time
2013-11-14T23:02:51Z
Keywords
CTFE, wrong-code
Assigned to
nobody
Creator
verylonglogin.reg

Comments

Comment #0 by verylonglogin.reg — 2013-11-05T01:19:24Z
--- struct S { float n; } static assert(S.init is S.init); // fails ---
Comment #1 by yebblies — 2013-11-14T23:02:51Z
*** This issue has been marked as a duplicate of issue 3632 ***