1Pull in r199188 from upstream clang trunk (by Jakob Stoklund Olesen): 2 3 Puny 24-byte structs are returned by value on SPARC. 4 5 Pad these structs up so they are sret-returned even on that 6 architecture. 7 8Introduced here: http://svnweb.freebsd.org/changeset/base/262262 9 10Index: tools/clang/test/CodeGen/sret.c 11=================================================================== 12--- tools/clang/test/CodeGen/sret.c 13+++ tools/clang/test/CodeGen/sret.c 14@@ -4,6 +4,8 @@ struct abc { 15 long a; 16 long b; 17 long c; 18+ long d; 19+ long e; 20 }; 21 22 struct abc foo1(void); 23Index: tools/clang/test/CodeGen/sret2.c 24=================================================================== 25--- tools/clang/test/CodeGen/sret2.c 26+++ tools/clang/test/CodeGen/sret2.c 27@@ -4,6 +4,8 @@ struct abc { 28 long a; 29 long b; 30 long c; 31+ long d; 32+ long e; 33 }; 34 35 struct abc foo2(){} 36