[LLVMbugs] [Bug 23990] New: [MS ABI] Clang crashes emitting array delete
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jun 29 16:34:46 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23990
Bug ID: 23990
Summary: [MS ABI] Clang crashes emitting array delete
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: david.majnemer at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
consider:
struct S {
int x;
void *operator new[](size_t);
void operator delete[](void *p, size_t);
};
void f(S *s) { delete [] s; }
we crash in CallArrayDelete::Emit because we are trying to multiple by
NumElements. However, NumElements is null because we decided we didn't need an
array cookie.
--
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/20150629/28a052dd/attachment.html>
More information about the llvm-bugs
mailing list