re PR fortran/61234 (Warn for use-stmt without explicit only-list.)
authorJoost VandeVondele <vondele@gcc.gnu.org>
Fri, 22 Aug 2014 10:14:50 +0000 (10:14 +0000)
committerJoost VandeVondele <vondele@gcc.gnu.org>
Fri, 22 Aug 2014 10:14:50 +0000 (10:14 +0000)
commit7e114fadf1ac83f36b1b84c60045ba016c4f37fa
treee461b437e15bff0158a42c3f3887302a848895db
parent3616dc706e703902088fcf055af5da7d410ea18f
re PR fortran/61234 (Warn for use-stmt without explicit only-list.)

 2014-08-22  Joost VandeVondele  <Joost.VandeVondele@mat.ethz.ch>

  * gfortran.dg/use_without_only_1.f90: New test.

 2014-08-22  Joost VandeVondele  <Joost.VandeVondele@mat.ethz.ch>

  PR fortran/61234
  * lang.opt (Wuse-without-only): New flag.
  * gfortran.h (gfc_option_t): Add it.
  * invoke.texi: Document it.
  * module.c (gfc_use_module): Warn if needed.
  * options.c (gfc_init_options,gfc_handle_option): Init accordingly.

From-SVN: r214311
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/invoke.texi
gcc/fortran/lang.opt
gcc/fortran/module.c
gcc/fortran/options.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/use_without_only_1.f90 [new file with mode: 0644]