Since F is a subset of Fortran 95, any Fortran 95 compiler will compile an F program. However, to impose strict F syntax, a compile with explicit support for F can be used.
The G95 compiler supports the F standard and will enforce the standard when -std=F is used:
g95 -std=F my_program.f95
References
Walt Brainerd, Charlie Goldberg, Jeanne Adams: Programmer’s Guide to F. The Fortran Company.
Loren Meissner: Essential Fortran 90 and 95. Unicomp.
Michael Metcalf, John Reid: The F Programming Language. Oxford University Press, 1996, ISBN 0-19-850026-2.
Robin A. Vowels: Algorithms and Data Structures in F and Fortran. Unicomp.