[LLVMbugs] [Bug 10143] New: Return value of std::uncaught_exception

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 15 07:57:13 PDT 2011


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

           Summary: Return value of std::uncaught_exception
           Product: libc++
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
        AssignedTo: hhinnant at apple.com
        ReportedBy: maxime at altribe.org
                CC: llvmbugs at cs.uiuc.edu


Return value of std::uncaught_exception inside the terminate handler seems
inconsistent. When using an empty throw or throwing an std::runtime_error,
std::uncaught_exception returns true, but when throwing an int it returns
false.

I'm using :
$ clang++ --version
clang version 2.9 (tags/RELEASE_29/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix

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