[LLVMbugs] [Bug 12055] New: handling large optimization values

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 21 11:26:57 PST 2012


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

             Bug #: 12055
           Summary: handling large optimization values
           Product: clang
           Version: 3.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: asimmons at rosettastone.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


The libogg project (http://xiph.org/downloads/) uses the (admittedly really
odd) -O20 flag in its configure scripts.  clang doesn't like this:

   $clang -o conftest -O20 -ffast-math -fsigned-char     conftest.c
   error: invalid value '4' in '-O20'

The error message is also rather misleading-- where is the '4' its referring
to?

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