[llvm-bugs] [Bug 28666] New: clang chrashes with -Wthread-safety in clang::CFGImplicitDtor::getDestructorDecl
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jul 22 09:27:45 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28666
Bug ID: 28666
Summary: clang chrashes with -Wthread-safety in
clang::CFGImplicitDtor::getDestructorDecl
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
Assignee: kremenek at apple.com
Reporter: nand at fb.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
The following example causes clang to chrash:
struct Holder {
virtual ~Holder() throw() {}
int i = 0;
};
int main() {
const auto &value = Holder().i;
}
Due to incorrect handling of lifetime-extending constructs.
--
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/20160722/245c8f00/attachment.html>
More information about the llvm-bugs
mailing list