public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "Jacques.Lebourlot at obspm dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/97320] False positive "Array reference out of bounds in loop" in a protecting if block
Date: Mon, 02 Nov 2020 17:09:34 +0000 [thread overview]
Message-ID: <bug-97320-4-2mmSEVC5U6@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-97320-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97320
--- Comment #4 from Jacques Le Bourlot <Jacques.Lebourlot at obspm dot fr> ---
(In reply to kargl from comment #3)
> (In reply to Jacques Le Bourlot from comment #2)
> >
> > The compiler should see that "IF (i >= 1)" THEN "i-1 >= 0". Quoting the
> > manual is not an adequate answer. An upgrade would be most welcomed.
> >
>
> gfortran is mostly maintained by a diminishing number of contributors.
> Messages telling the few remaining contributors what they ought to
> do are likely to fall on deaf ears. Patches from new contributors
> are welcomed; otherwise, sometime in the future, perhaps a decade
> or so, someone might care enough to try to fix this annoyance. In the
> meantime, add -Wno-do-subscript to your options.
My apologies. I did not mean to be rude or to complain. And I am not skilled
enough to contribute. Sorry.
But I will keep -Wdo-subscript, because I need the few cases that are *real*
positives.
Jacques
next prev parent reply other threads:[~2020-11-02 17:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-07 13:17 [Bug fortran/97320] New: " trnka at scm dot com
2020-10-07 13:31 ` [Bug fortran/97320] " dominiq at lps dot ens.fr
2020-11-02 15:56 ` Jacques.Lebourlot at obspm dot fr
2020-11-02 17:03 ` kargl at gcc dot gnu.org
2020-11-02 17:09 ` Jacques.Lebourlot at obspm dot fr [this message]
2020-11-02 20:11 ` anlauf at gcc dot gnu.org
2020-11-03 7:18 ` tkoenig at gcc dot gnu.org
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-97320-4-2mmSEVC5U6@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).