[LLVMbugs] [Bug 2753] New: repeated structure declaration crashes clang
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Sep 2 07:29:47 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2753
Summary: repeated structure declaration crashes clang
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: AST
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nunoplopes at sapo.pt
CC: llvmbugs at cs.uiuc.edu
The following code crashes clang:
void foo() {
struct xpto;
struct xpto;
}
The crash happens because both stmts point to the same decl. When destroying
the stmts, both will free the same decl, and thus crashing.
This may get fixed with Ted's proposal for struct stuff, but here's one more
test case.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list