[llvm-bugs] [Bug 35156] New: IR verification failed
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Oct 31 18:36:15 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=35156
Bug ID: 35156
Summary: IR verification failed
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Clang Compiler Support
Assignee: unassignedclangbugs at nondot.org
Reporter: evstupac at gmail.com
CC: llvm-bugs at lists.llvm.org
Most likely related to https://bugs.llvm.org/show_bug.cgi?id=35152
Compilation of the following test:
void foo();
void bar();
int main ()
{
#pragma omp parallel
{
try {
foo();
}
catch (int t) {
#pragma omp critical
{
bar();
};
}
};
return 0;
}
clang -fopenmp --target=x86_64-pc-windows-msvc t.cpp -c
Result in:
Instruction does not dominate all uses!
%2 = catchpad within %1 [%rtti.TypeDescriptor2* @"\01??_R0H at 8", i32 0, i32*
%t]
%0 = call i32 @__kmpc_global_thread_num(%ident_t* @0) [ "funclet"(token %2) ]
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/20171101/25bd82e8/attachment.html>
More information about the llvm-bugs
mailing list