* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / bfin-longcall-1.c
blob138707e9e3f1db54164dbb1897fbf22ab9c13d25
1 /* { dg-do compile { target bfin-*-* } } */
2 /* { dg-options "-O2" } */
3 /* { dg-final { scan-assembler-not "call\[^\\n\]*foo" } } */
4 /* { dg-final { scan-assembler-not "jump\[^\\n\]*foo" } } */
5 /* { dg-final { scan-assembler "call\[^\\n\]*baz" } } */
6 /* { dg-final { scan-assembler "jump\[^\\n\]*baz" } } */
7 /* { dg-final { scan-assembler "call\[^\\n\]*bar" } } */
8 /* { dg-final { scan-assembler "jump\[^\\n\]*bar" } } */
10 extern void foo () __attribute__((longcall));
11 extern void bar () __attribute__((shortcall));
12 extern void baz ();
14 int t1 ()
16 foo ();
17 bar ();
18 baz ();
19 return 4;
22 void t2 ()
24 foo ();
26 void t3 ()
28 bar ();
30 void t4 ()
32 baz ();