1 /* PR debug/44028 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O3 -fcompare-debug" } */ 4 /* { dg-options "-O3 -fsched-pressure -fschedule-insns -fcompare-debug" { target i?86-*-* x86_64-*-* } } */ 5 6 struct S { int val[16]; }; 7 8 static inline int bar(struct S x)9bar (struct S x) 10 { 11 long double pc = 0; 12 int i; 13 for (i = 0; i < 16; i++) 14 pc += x.val[i]; 15 return pc; 16 } 17 18 int foo(struct S x)19foo (struct S x) 20 { 21 return bar (x); 22 } 23