[LLVMbugs] [Bug 785] NEW: [mac os/x86] Structures <= 8 bytes should be returned in registers
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri May 19 12:36:25 PDT 2006
http://llvm.org/bugs/show_bug.cgi?id=785
Summary: [mac os/x86] Structures <= 8 bytes should be returned in
registers
Product: tools
Version: 1.7
Platform: PC
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sabre at nondot.org
Consider this example:
struct X { double D; };
struct Y { struct X x;};
struct Y bar();
void foo(struct Y *P) {
*P = bar();
}
The result of bar() should be in ST0 on Darwin/x86.
-Chris
------- 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