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

           Summary: Destructor not invoked
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Created an attachment (id=4839)
 --> (http://llvm.org/bugs/attachment.cgi?id=4839)
Example showing missing destructor

In the attached code, by observing the output we can see that 'X(int i, int j)'
is being invoked repeatedly on the same memory location, but '~X()' is never
being called. It is in g++, and should be.

This was reduced from a 'circualar_buffer' test case in boost.

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to