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

           Summary: clang's missing -ffixed-REG, -fcall-used-REG,
                    -fcall-saved-REG
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
            Blocks: 4068


in particular, -fcall-saved-REG is used by linux on x86 (i.e., both i386 and
amd64) for an optimized ABI for a few specific functions. since clang ignores
this switch (for completeness, i added the other two related switches too) the
generated machine code is not correct and results in runtime failure. the
workaround on the linux side is to disable CONFIG_ARCH_HWEIGHT_CFLAGS for now.

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