[LLVMbugs] [Bug 3712] New: Clang doesn' t predefine __OPTIMIZE__ and __PIC__ etc correctly

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Mar 3 11:39:07 PST 2009


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

           Summary: Clang doesn't predefine __OPTIMIZE__ and __PIC__ etc
                    correctly
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: clattner at apple.com
                CC: llvmbugs at cs.uiuc.edu


There __OPTIMIZE__ should be set when -Ox is specified, and __PIC__ should
follow the -fpic /-fPIC settings appropriately.


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