http://llvm.org/bugs/show_bug.cgi?id=17483
Bug ID: 17483
Summary: Assertion when attempting to build a CFG for a
function containing a goto statement with
-fms-compatibility
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Assertion failure:
llvm/tools/clang/lib/Analysis/CFG.cpp:198: int
{anonymous}::LocalScope::const_iterator::distance({anonymous}::LocalScope::const_iterator):
Assertion `F != const_iterator() && "L iterator is not reachable from F
iterator."' failed.
Command line:
clang -cc1 goto.cc -fsyntax-only -fms-compatibility -analyze
-analyzer-checker=debug.DumpCFG
goto.cc:
struct Y {
~Y();
};
void jump_over_var_with_dtor() {
goto end;
Y y;
end:
return;
}
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs