[LLVMbugs] [Bug 22553] New: [ms] "Terminator found in the middle of a basic block!" with nested __finally blocks
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Feb 11 16:34:08 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22553
Bug ID: 22553
Summary: [ms] "Terminator found in the middle of a basic
block!" with nested __finally blocks
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: nicolasweber at gmx.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Found while writing tests for __leave codegen:
Nicos-MacBook-Pro-3:llvm-build thakis$ cat foo2.cc
int nested___finally___finally() {
__try {
__try {
} __finally {
return 0;
}
} __finally {
}
return 1;
}
Nicos-MacBook-Pro-3:llvm-build thakis$ bin/clang -target x86_64-pc-win32
-emit-llvm -S -o - foo2.cc
Terminator found in the middle of a basic block!
label %__finally.cont
fatal error: error in backend: Broken function found, compilation aborted!
clang-3.5: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 3.7.0 (trunk 228879)
Target: x86_64-pc-windows-msvc
Thread model: posix
clang-3.5: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang-3.5: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.5: note: diagnostic msg:
/var/folders/c5/8d7sdn1x2mg92mj0rndghhdr0000gn/T/foo2-d509c9.cpp
clang-3.5: note: diagnostic msg:
/var/folders/c5/8d7sdn1x2mg92mj0rndghhdr0000gn/T/foo2-d509c9.sh
clang-3.5: note: diagnostic msg:
********************
--
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/20150212/7b4d29e1/attachment.html>
More information about the llvm-bugs
mailing list