For standard checking you can use -std flag
-std=std Specify the standard to which the program is expected to conform, which may be one of
f95',
f2003',f2008',
gnu', or `legacy'.
To "force" gfortran
to compile your code, you have to use syntax it recognizes