1 2 3 4 5 6 7 8 9 10 11 12 13 14
/* { dg-do compile } */ /* { dg-options "-O2" } */ /* { dg-final { scan-assembler "move.l \%d0,\%a0" { target *-*-*linux* } } } */ struct pts { int c; }; unsigned int bar (struct pts *a, int b); struct pts * foo (struct pts *a, int b) { return (struct pts *) bar (a, b); }