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: unassignedclangb...@nondot.org Reporter: stephan.bergmann.second...@googlemail.com CC: david.majne...@gmail.com, dgre...@apple.com, llvm-bugs@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs