1 /* { dg-do compile { target { powerpc*-*-linux* && ilp32 } } } */ 2 /* { dg-options "-O2 -msvr4-struct-return" } */ 3 4 struct S1 { float f; }; 5 foo1(void)6struct S1 foo1 (void) 7 { 8 struct S1 s = { 1.0f }; 9 return s; 10 } 11 12 /* { dg-final { scan-assembler "lwz" } } */ 13 /* { dg-final { scan-assembler-not "lfs" } } */ 14