[llvm-bugs] [Bug 46760] thread:370:65: error: operator '||' has no right operand

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 20 13:17:46 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=46760

Louis Dionne <ldionne at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
 Fixed By Commit(s)|                            |9f4022ffeb20eff91c746182859
                   |                            |2dc812ee5a28e
         Resolution|---                         |FIXED
                 CC|                            |ldionne at apple.com

--- Comment #1 from Louis Dionne <ldionne at apple.com> ---
I believe this was fixed by

commit 9f4022ffeb20eff91c7461828592dc812ee5a28e
Author: Joerg Sonnenberger <joerg at bec.de>
Date:   Thu Feb 18 15:15:53 2021 +0100

    [libc++] Avoid <climits> dependency in <thread>

    The standard guarantees sleep durations of 2^63-1 nanoseconds to work.
    Instead of depending on INT64_MAX or ULONGLONG_MAX to exist via the
    header pollution, fold the constant directly. That has the additional
    positive side effect that it avoids long double arithmetic bugs in GCC.

    Differential Revision: https://reviews.llvm.org/D99516

-- 
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/20210920/7beca449/attachment.html>


More information about the llvm-bugs mailing list