2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / pr84295.c
blob4da43c3cded3bbfaeaab91257233231bc97b54f3
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -march=z900 -fgnu89-inline --save-temps -mfunction-return-reg=thunk -mindirect-branch-table" } */
4 extern void foo (void);
5 extern __inline void foo (void) {}
6 void foo (void) {}
8 /* { dg-final { scan-assembler-times "jg\t__s390_indirect_jump" 1 } } */
9 /* { dg-final { scan-assembler "ex\t" } } */
11 /* { dg-final { scan-assembler-not "section\t.s390_indirect_jump" } } */
12 /* { dg-final { scan-assembler-not "section\t.s390_indirect_call" } } */
13 /* { dg-final { scan-assembler "section\t.s390_return_reg" } } */
14 /* { dg-final { scan-assembler-not "section\t.s390_return_mem" } } */