[LLVMbugs] [Bug 22198] New: libunwind: __builtin_unreachable is not available on gcc prior to version 4.5

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jan 11 13:15:12 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22198

            Bug ID: 22198
           Summary: libunwind: __builtin_unreachable is not available on
                    gcc prior to version 4.5
           Product: libc++abi
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: jeremyhu at apple.com
                CC: llvmbugs at cs.uiuc.edu, mclow.lists at gmail.com
    Classification: Unclassified

__builtin_unreachable is used unconditionally in DwarfInstructions.hpp.  We
should maybe just __builtin_trap() instead:

    assert(0 && "getCFA(): unknown location");
    __builtin_unreachable();

-- 
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/20150111/96a0887b/attachment.html>


More information about the llvm-bugs mailing list