[LLVMbugs] [Bug 3245] New: Assertion `D == 0 && "Destroy method not called."' on invalid code

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Dec 20 15:43:20 PST 2008


http://llvm.org/bugs/show_bug.cgi?id=3245

           Summary: Assertion `D == 0 && "Destroy method not called."' on
                    invalid code
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: parser
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


Testcase:

static void x()
{
    int bx=0;
    { COPY3_IF_LT(by) }
}

Run through clang -fsyntax-only, crashes with the following assertion:
clang: /home/eli/llvm/tools/clang/lib/AST/DeclGroup.cpp:67:
clang::DeclGroupOwningRef::~DeclGroupOwningRef(): Assertion `D == 0 && "Destroy
method not called."' failed.


-- 
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