[llvm-bugs] [Bug 51759] x86-64: __builtin_bit_cast(anything, long double) wrongly errors with "indeterminate value"
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Sep 6 16:36:24 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51759
Arthur O'Dwyer <arthur.j.odwyer at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Arthur O'Dwyer <arthur.j.odwyer at gmail.com> ---
> I believe that long double in this case has 80 value bits and 48 padding bits
Ah, I see. Well, I'll just have to find some other way to inspect those bits
(inside std::strong_order), then. (And/or make std::strong_order non-constexpr
for long doubles. The Standard doesn't seem to specify whether it needs to be
compile-time-evaluable for any particular type, which I think is a known LWG
issue in general...)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210906/f1bedd84/attachment.html>
More information about the llvm-bugs
mailing list