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

             Bug #: 15082
           Summary: Does not find <ppc_intrinsincs.h> header on Mac OS X
                    when targeting PPC
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


This is using clang TOT in Xcode on an existing project targeting 10.4 UB,
compiling for PPC.

Some existing code in the project uses the header <ppc_intrinsics.h>, from it
using things like __lhbrx().

Xcode's GCC 4.2 and 4.0 compile this code fine, but clang fails to find the
header (when it's included as #include <ppc_intrinsics.h>).

On my system, I can find a copy of this header in the following locations:

/usr/include/gcc/darwin/4.0/ppc_intrinsics.h
/usr/include/gcc/darwin/4.2/ppc_intrinsics.h
/usr/llvm-gcc-4.2/include/gcc/darwin/4.2/ppc_intrinsics.h

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