Puny 24-byte structs are returned by value on SPARC.
Pad these structs up so they are sret-returned even on that architecture. llvm-svn: 199188
This commit is contained in:
parent
b6b35a4955
commit
6e1aaf27c1
|
@ -4,6 +4,8 @@ struct abc {
|
|||
long a;
|
||||
long b;
|
||||
long c;
|
||||
long d;
|
||||
long e;
|
||||
};
|
||||
|
||||
struct abc foo1(void);
|
||||
|
|
|
@ -4,6 +4,8 @@ struct abc {
|
|||
long a;
|
||||
long b;
|
||||
long c;
|
||||
long d;
|
||||
long e;
|
||||
};
|
||||
|
||||
struct abc foo2(){}
|
||||
|
|
Loading…
Reference in New Issue