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

Reply via email to