[LLVMbugs] [Bug 1242] NEW: llvm-gcc emits llvm assembly with incomplte target data layout

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Mar 5 17:02:20 PST 2007


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

           Summary: llvm-gcc emits llvm assembly with incomplte target data
                    layout
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rspencer at x10sys.com


When emitting llvm code (-emit-llvm), llvm-gcc generates a Target Data Layout of
"e-p:32:32" for x86-pc-linux-gnu. This is insufficient for some programs as the
defaults will use f64:64:64 whereas the correct alignment is f64:32:64. This
causes a problem in accessing fields of structures that use double/long long.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list