public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/94940] [10 Regression] spurious -Warray-bounds for a zero length array member of union since r10-4300-g49fb45c81f4ac068
Date: Mon, 18 May 2020 22:05:32 +0000	[thread overview]
Message-ID: <bug-94940-4-w4TuDUzrPV@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-94940-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Martin Sebor
<msebor@gcc.gnu.org>:

https://gcc.gnu.org/g:ff61c5bd1490a006c00bed9259dc672351eb217a

commit r10-8154-gff61c5bd1490a006c00bed9259dc672351eb217a
Author: Martin Sebor <msebor@redhat.com>
Date:   Mon May 18 16:04:56 2020 -0600

    PR middle-end/94940 - spurious -Warray-bounds for a zero length array
member of union

    gcc/testsuite/ChangeLog:

            PR middle-end/94940
            * gcc.dg/Warray-bounds-61.c: New test.

    gcc/ChangeLog:

            PR middle-end/94940
            * tree-vrp.c (vrp_prop::check_mem_ref): Remove unreachable code.
            * tree.c (component_ref_size): Correct the handling or array
members
            of unions.
            Drop a pointless test.
            Rename a local variable.

  parent reply	other threads:[~2020-05-18 22:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-04  7:42 [Bug tree-optimization/94940] New: [10/11 Regression] array subscript i is outside array bounds of ‘int[0]’ " marxin at gcc dot gnu.org
2020-05-04  7:42 ` [Bug tree-optimization/94940] " marxin at gcc dot gnu.org
2020-05-04  7:55 ` rguenth at gcc dot gnu.org
2020-05-04  7:56 ` rguenth at gcc dot gnu.org
2020-05-04  8:17 ` marxin at gcc dot gnu.org
2020-05-04 15:53 ` [Bug middle-end/94940] [10/11 Regression] spurious -Warray-bounds for a zero length array member of union " msebor at gcc dot gnu.org
2020-05-04 18:19 ` marxin at gcc dot gnu.org
2020-05-05 11:33 ` rguenth at gcc dot gnu.org
2020-05-07 11:56 ` jakub at gcc dot gnu.org
2020-05-08 21:49 ` msebor at gcc dot gnu.org
2020-05-18 21:10 ` cvs-commit at gcc dot gnu.org
2020-05-18 22:05 ` cvs-commit at gcc dot gnu.org [this message]
2020-05-18 22:06 ` [Bug middle-end/94940] [10 " msebor 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-94940-4-w4TuDUzrPV@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).