I would ask if there is a way to integrate Emacs with GFortran so that in
case of compiler error one can jump to the line wher the error is born.
If the error messages have the standard GNU form, then it should work.
If not, then probably GFortran should be fixed to put its error
messages in standard form.