Debian Codegraph @

gcc/testsuite/gfortran.dg/auto_in_equiv_2.f90

raw
1 ! { dg-do run }
2 ! { dg-options "-fdec-static -frecursive -fno-automatic" }
3
4 ! Contributed by Mark Eggleston <[email protected]>
5 !
6 ! Check that -fno-automatic does not break recursion. The recursive
7 ! function is not marked with the resursive key word consequently
8 ! local variables can be made static when -fno-automatic is used. The
9 ! recursive function contains an equivalence that has a variable with
10 ! the automatic attribute and one without.
11 !
12 include "auto_in_equiv_1.f90"
13
14 ! { dg-warning "Flag '-fno-automatic' overwrites '-frecursive'" "warning" { target *-*-* } 0 }