[committed] [RISC-V] Skip zbs-ext-2.c for -Oz as well
[official-gcc.git] / gcc / testsuite / gcc.target / arm / eliminate.c
blob299d4df70964d6c5517cbe7c7fa4a5f8c45c7ecd
1 /* { dg-do compile { target { nonpic } } } */
2 /* { dg-options "-O2" } */
4 struct X
6 int c;
7 };
9 extern void bar(struct X *);
11 void foo ()
13 struct X x;
14 bar (&x);
15 bar (&x);
16 bar (&x);
19 /* { dg-final { scan-assembler-times "r0,\[\\t \]*sp" 3 } } */