public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/84079] missing -Warray-bounds taking the address of a multidimensional array element
[not found] <bug-84079-4@http.gcc.gnu.org/bugzilla/>
@ 2020-07-22 23:38 ` msebor at gcc dot gnu.org
2020-07-27 20:08 ` cvs-commit at gcc dot gnu.org
2020-07-27 20:09 ` msebor at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-07-22 23:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84079
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
Patch: https://gcc.gnu.org/pipermail/gcc-patches/2020-July/550502.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/84079] missing -Warray-bounds taking the address of a multidimensional array element
[not found] <bug-84079-4@http.gcc.gnu.org/bugzilla/>
2020-07-22 23:38 ` [Bug tree-optimization/84079] missing -Warray-bounds taking the address of a multidimensional array element msebor at gcc dot gnu.org
@ 2020-07-27 20:08 ` cvs-commit at gcc dot gnu.org
2020-07-27 20:09 ` msebor at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-07-27 20:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84079
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <msebor@gcc.gnu.org>:
https://gcc.gnu.org/g:07bd5544a3ab3a04d1652dbcb5a09d7271a9706a
commit r11-2370-g07bd5544a3ab3a04d1652dbcb5a09d7271a9706a
Author: Martin Sebor <msebor@redhat.com>
Date: Mon Jul 27 13:54:50 2020 -0600
Diagnose just-past-the-end references for minor array bounds.
Resolves:
PR tree-optimization/84079 - missing -Warray-bounds taking the address of
past-the-end element of a multidimensional array
gcc/ChangeLog:
PR tree-optimization/84079
* gimple-array-bounds.cc (array_bounds_checker::check_addr_expr):
Only allow just-past-the-end references for the most significant
array bound.
gcc/testsuite/ChangeLog:
PR tree-optimization/84079
* gcc.dg/Warray-bounds-62.c: New test.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/84079] missing -Warray-bounds taking the address of a multidimensional array element
[not found] <bug-84079-4@http.gcc.gnu.org/bugzilla/>
2020-07-22 23:38 ` [Bug tree-optimization/84079] missing -Warray-bounds taking the address of a multidimensional array element msebor at gcc dot gnu.org
2020-07-27 20:08 ` cvs-commit at gcc dot gnu.org
@ 2020-07-27 20:09 ` msebor at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-07-27 20:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84079
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> ---
Fixed for GCC 11.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-27 20:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-84079-4@http.gcc.gnu.org/bugzilla/>
2020-07-22 23:38 ` [Bug tree-optimization/84079] missing -Warray-bounds taking the address of a multidimensional array element msebor at gcc dot gnu.org
2020-07-27 20:08 ` cvs-commit at gcc dot gnu.org
2020-07-27 20:09 ` msebor at gcc dot gnu.org
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).