[LLVMbugs] [Bug 7062] New: [C++ CodeGen] Destruction of partial-constructed member arrays in implicitly-defined constructors

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 5 15:19:51 PDT 2010


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

           Summary: [C++ CodeGen] Destruction of partial-constructed
                    member arrays in implicitly-defined constructors
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: dgregor at apple.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4833)
 --> (http://llvm.org/bugs/attachment.cgi?id=4833)
Failing test case

When an exception occurs while constructing an element in a non-static array
member, we need to destroy all of the elements constructed before the exception
occurred. The attached tested case (copy-constructor-synthesis-3.cpp) is a
simple run-time test that checks for this behavior, which we currently fail.

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