[LLVMbugs] [Bug 7243] New: clang should be more forgiving of mismatched throw() specifications in -fno-exceptions mode

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 27 21:41:27 PDT 2010


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

           Summary: clang should be more forgiving of mismatched throw()
                    specifications in -fno-exceptions mode
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
            Blocks: 5511


Testcase:
void a() throw(int);
void a() throw();

g++ -fno-exceptions accepts this code, but clang -fno-exceptions doesn't.

In practice, this affects Firefox, which mismatches the specifications and uses
-fno-exceptions.

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