[LLVMbugs] [Bug 9457] New: clang's missing -ffixed-REG, -fcall-used-REG, -fcall-saved-REG

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 11 05:27:33 PST 2011


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: unassignedclangbugs at nondot.org
        ReportedBy: pageexec at freemail.hu
                CC: llvmbugs at cs.uiuc.edu, pageexec at freemail.hu
            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.



More information about the llvm-bugs mailing list