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

Daniel Kraft d@domob.eu
Sat Dec 26 21:06:00 GMT 2009


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?

Yours,
Daniel

-- 
Done:  Arc-Bar-Cav-Ran-Rog-Sam-Tou-Val-Wiz
To go: Hea-Kni-Mon-Pri

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.changelog
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20091226/57be40e1/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20091226/57be40e1/attachment-0001.ksh>


More information about the Gcc-patches mailing list