[llvm-bugs] [Bug 26822] New: [seh] Jump out of finally causes verifier error
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Mar 2 15:04:06 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=26822
Bug ID: 26822
Summary: [seh] Jump out of finally causes verifier error
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: david.majnemer at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
consider:
void f() {
__try {
} __finally {
goto lbl;
}
lbl:;
}
$ clang -cc1 -triple x86_64-pc-windows-msvc18.0.0 -fms-extensions -x c t.c
-emit-llvm-only
t.c:4:5: warning: jump out of __finally block has undefined behavior
goto lbl;
^
Referring to a basic block in another function!
br label %lbl
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/20160302/9fc4ad75/attachment.html>
More information about the llvm-bugs
mailing list