[llvm-bugs] [Bug 27163] New: clang-cl: The unwind destination does not have an exception handling instruction!, again

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 31 09:37:37 PDT 2016


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

            Bug ID: 27163
           Summary: clang-cl: The unwind destination does not have an
                    exception handling instruction!, again
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: stephan.bergmann.secondary at googlemail.com
                CC: david.majnemer at gmail.com, dgregor at apple.com,
                    llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16140
  --> https://llvm.org/bugs/attachment.cgi?id=16140&action=edit
reproducer, gzip'ed

Another one similar to bug 27056 (but with the fix for it in): At least with
recent trunk r264998, running

  clang-cl --target=x86_64-pc-windows-mscv -Xclang -std=gnu++14 -EHa -O2 -c
test.cc

on the attached (non-reduced) test.cc(.gz) fails with

> The unwind destination does not have an exception handling instruction!
>   invoke void %.pre(i8* %4, i8* %.pre55)
>           to label %try.cont unwind label %catch.dispatch
> CatchSwitchInst not the first non-PHI instruction in the block.
>   %6 = catchswitch within none [label %invoke.cont8] unwind label %ehcleanup
> fatal error: error in backend: Broken function found, compilation aborted!

-- 
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/20160331/e68f8403/attachment.html>


More information about the llvm-bugs mailing list