[LLVMbugs] [Bug 1625] New: -enable-eh should not disable -enable-correct-eh-support if SupportsExceptionHandling is false

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Aug 27 23:57:02 PDT 2007


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

           Summary: -enable-eh should not disable -enable-correct-eh-support
                    if SupportsExceptionHandling is false
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


In the regression testsuite there are tests that require exception
handling support.  These should use zero cost eh (-enable-eh) if
the target supports it and high cost eh (-enable-correct-eh-support)
otherwise.  But you can't simply pass "-enable-eh -enable-correct-eh-support"
to such tests because passing -enable-eh unconditionally turns off
-enable-correct-eh-support, even if -enable-eh doesn't actually do anything
because the target is not supported.  Instead I think
-enable-correct-eh-support should only be turned off if -enable-eh is passed
*and* is supported for the target.


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