1 2 3 4 5 6 7 8 9 10 11 12 13
/* { dg-do compile } */ /* { dg-options "-mthumb -Os" } */ /* { dg-require-effective-target arm_thumb1_ok } */ extern void bar(int*); int foo() { int x; bar(&x); return x; } /* { dg-final { scan-assembler-not "sub\[\\t \]*sp,\[\\t \]*sp," } } */