[Patch, Fortran] PR fortran/22552: -Wimplicit-procedure

Jerry DeLisle jvdelisle@verizon.net
Sat Dec 26 18:56:00 GMT 2009


Daniel Kraft wrote:
> Hi all,
> 
> here's a small and straight-forward patch for PR 22552 that adds a new
> warning flag -Wimplicit-procedure for procedures that are called but
> never explicitly declared.  The difference between -Wimplicit-interface
> is that this option does not trigger when a procedure is declared
> EXTERNAL but still does not have an interface.  This is useful for
> legacy code, see the PR at
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22552.
> 
> Additionally, this is the first "half" of my RFC at
> http://gcc.gnu.org/ml/fortran/2009-12/msg00131.html, with Tobias'
> proposed documentation change.
> 
> No regressions on GNU/Linux-x86-32.  Ok for trunk?
> 
Yes, OK, thanks for the patch.

Jerry



More information about the Fortran mailing list