hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git] / gcc / testsuite / gfortran.dg / whole_file_5.f90
blob61612d46f12ec6c297e91c414bca2e447c84dbff
1 ! { dg-do compile }
2 ! { dg-options "-O3 -fdump-tree-optimized" }
3 ! { dg-add-options bind_pic_locally }
5 ! Check that inlining of functions declared BEFORE usage works.
6 ! If yes, then the dump does not contain a call to F().
9 INTEGER FUNCTION f()
10 f = 42
11 END FUNCTION
13 PROGRAM main
14 INTEGER :: a, f
15 a = f()
16 print *, a, f()
17 END PROGRAM
19 ! { dg-final { scan-tree-dump-times "= f \\(\\)" 0 "optimized" } }