[llvm-bugs] [Bug 33530] New: Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"), function cast, file llvm/include/llvm/Support/Casting.h, line 255

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 20 10:41:15 PDT 2017


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

            Bug ID: 33530
           Summary: Assertion failed: (isa<X>(Val) && "cast<Ty>() argument
                    of incompatible type!"), function cast, file
                    llvm/include/llvm/Support/Casting.h, line 255
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: compnerd at compnerd.org
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

Created attachment 18671
  --> https://bugs.llvm.org/attachment.cgi?id=18671&action=edit
reduced.cc

The function type identity mismatches when the user attempts to declare
`_CxxThrowException` and the compiler adds its own declaration which
mismatches.

-- 
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/20170620/9c6b5b38/attachment-0001.html>


More information about the llvm-bugs mailing list