public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Janus Weil <janus@gcc.gnu.org>
To: gfortran <fortran@gcc.gnu.org>, gcc-patches <gcc-patches@gcc.gnu.org>
Subject: [Patch, Fortran] PR 86935: Bad locus in ASSOCIATE statement
Date: Mon, 13 Aug 2018 19:45:00 -0000	[thread overview]
Message-ID: <CAKwh3qh3KhbcPdm+iDRoJS3s3kHW4vNxuYh1_d4QifruCdJMNQ@mail.gmail.com> (raw)

Hi all,

this simple patch improves some of the diagnostics for invalid
ASSOCIATE statements:

https://github.com/janusw/gcc/commit/2f484479c741abddc8ac473cb0c1b9010397e006

In particular it gives a more precise locus and improved wording,
which is achieved basically by splitting a 'gfc_match' into two
separate ones. Regtests cleanly on x86_64-linux-gnu. Ok for trunk?

Cheers,
Janus

             reply	other threads:[~2018-08-13 19:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-13 19:45 Janus Weil [this message]
     [not found] ` <9F1BA124-0E74-496E-9AAC-53C86052CF5F@gmail.com>
     [not found]   ` <CAKwh3qg+r2i_o_wQzM5PVTjDjPetPDieUwE1qJ35OHTy0J288w@mail.gmail.com>
     [not found]     ` <fc7f64e4-7a1f-837e-b334-6d33aa81c8fa@netcologne.de>
     [not found]       ` <CAKwh3qhp33vCBTRYu=zpn1w_egt38woYr7O6hJ26G1FCtp9=CQ@mail.gmail.com>
2018-09-02 15:16         ` Bernhard Reutner-Fischer
2021-10-27 17:40           ` Bernhard Reutner-Fischer
     [not found]             ` <slca7k$11i7$1@ciao.gmane.io>
2021-10-27 20:46               ` Bernhard Reutner-Fischer

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=CAKwh3qh3KhbcPdm+iDRoJS3s3kHW4vNxuYh1_d4QifruCdJMNQ@mail.gmail.com \
    --to=janus@gcc.gnu.org \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@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).