[LLVMbugs] [Bug 7246] New: clang doesn't handle constructor exception handlers properly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 28 09:02:59 PDT 2010


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

           Summary: clang doesn't handle constructor exception handlers
                    properly
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: krisis88 at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


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

in function try blocks for constructors and destructors, the handler should
rethrow the currently handled exception at the end, according to the c++
standard.

when executing the attached test case, both handlers should be executed, but
only the one for the constructor is.

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