Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.target / tic6x / longcalls.c
blob273433ceed5e60113cbbac36279b3b3ad6e10848
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mlong-calls" } */
3 /* { dg-final { scan-assembler-times "\\tcall\[p\]*\[\\t ]*.s" 3 } } */
4 /* { dg-final { scan-assembler "call\[p\]*\[\\t ]*.s.\[\\t ]*.f" } } */
5 /* { dg-final { scan-assembler-not "call\[p\]*\[\\t ]*.s.\[\\t ]*.g" } } */
6 /* { dg-final { scan-assembler-not "call\[p\]*\[\\t ]*.s.\[\\t ]*.h" } } */
8 int x;
10 static __attribute__ ((noinline)) void f ()
12 x = 5;
15 extern void g ();
17 static __attribute__ ((noinline)) __attribute__((section(".init.text"))) void h ()
19 x = 5;
22 int bar ()
24 f ();
25 g ();
26 h ();