public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "vondele at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/61234] Warn for use-stmt without explicit only-list.
Date: Fri, 22 Aug 2014 10:15:00 -0000	[thread overview]
Message-ID: <bug-61234-4-dFyjR2VeQU@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-61234-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61234

--- Comment #6 from vondele at gcc dot gnu.org ---
Author: vondele
Date: Fri Aug 22 10:14:50 2014
New Revision: 214311

URL: https://gcc.gnu.org/viewcvs?rev=214311&root=gcc&view=rev
Log:
 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.


Added:
    trunk/gcc/testsuite/gfortran.dg/use_without_only_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/invoke.texi
    trunk/gcc/fortran/lang.opt
    trunk/gcc/fortran/module.c
    trunk/gcc/fortran/options.c
    trunk/gcc/testsuite/ChangeLog


  parent reply	other threads:[~2014-08-22 10:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-61234-4@http.gcc.gnu.org/bugzilla/>
2014-05-20 18:21 ` dominiq at lps dot ens.fr
2014-05-20 18:32 ` Joost.VandeVondele at mat dot ethz.ch
2014-05-20 21:04 ` anlauf at gmx dot de
2014-05-21  5:32 ` Joost.VandeVondele at mat dot ethz.ch
2014-05-30  8:04 ` Joost.VandeVondele at mat dot ethz.ch
2014-08-22 10:15 ` vondele at gcc dot gnu.org [this message]
2014-08-22 10:16 ` Joost.VandeVondele at mat dot ethz.ch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-61234-4-dFyjR2VeQU@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).