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

           Summary: Confusing error message from high optimisation level
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


g++ accepts any optimisation level above -O3, but treats it as -O3.

One makefile I use which contained the (I assume) misprint:

-O23

which produces the very confusing error:

error: invalid value '7' in '-O23'

It would be better to either accept this optimisation level, or at least
provide a more sensible error message (I cannot imagine what this is actually
trying to tell me).

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