This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]