[LLVMbugs] [Bug 18763] New: [powerpc-darwin] default cpusubtype inconsistent with system gcc

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 6 13:49:29 PST 2014


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

            Bug ID: 18763
           Summary: [powerpc-darwin] default cpusubtype inconsistent with
                    system gcc
           Product: clang
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: fang at csl.cornell.edu
                CC: iains-llvm at btconnect.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

On powerpc-darwin8 (triple: powerpc-apple-darwin8), clang -no-integrated-as
-save-temps emits ".machine ppc7400" by default, whereas system gcc (4.0) emits
".machine ppc" (cpusubtype:ALL).  As much as I like having ppc7400 code running
on my G4, Iain feels this is incorrect, that for darwin8, the default should
either be 'ppc' (ALL) or 'ppc750' (G3).  This explains the difference between
integrated and no-integrated-as I observe in bug 18463.

On darwin9, however, defaulting to .machine ppc7400 is acceptable (current
state).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140206/7b410562/attachment.html>


More information about the llvm-bugs mailing list