This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] |
On 7/4/07, Daniel Franke <franke.daniel@gmail.com> wrote:After Richards request, Fortran side is OK as well.
Depending on the command-line arguments -Wall and -Wextra, gfortran gives different kinds of warnings for unused dummy arguments. In addition, sometimes the middle-end chimes in and emits a default warning as well (PR27484). Further, PR28004 requests a warning if dummy arguments of INTENT(out) are not set.
This patch addresses all this in a single sweep, the corrected warnings are
emitted on -Wall regardless of -Wextra (via warn_unused_variable). The
changes should be self explanatory, those in function.c probably need to be
approved by a C- or global maintainer?!
The function.c bits are ok. But you need a bootstrap & regtest for all default
languages if you touch a middle-end part, so please make sure that there are
no regressions for those.
Thanks, Richard.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |