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

Daniel Kraft d@domob.eu
Sun Dec 27 09:31:00 GMT 2009


Jerry DeLisle wrote:
> 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.

Thanks for the review, committed as rev. 155479.  Now on to the second 
patch of the RFC post ;)

Yours,
Daniel

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



More information about the Fortran mailing list