public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/83840] missing -Wmemset-elt-size with address of array element
       [not found] <bug-83840-4@http.gcc.gnu.org/bugzilla/>
@ 2022-03-14 18:41 ` jakub at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: jakub at gcc dot gnu.org @ 2022-03-14 18:41 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
   Last reconfirmed|                            |2022-03-14
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Confirmed, just ran into this too.
I bet we should special case ARRAY_REF with 0 index, for non-zero indexes the
warning would be more complicated and less obvious.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-14 18:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-83840-4@http.gcc.gnu.org/bugzilla/>
2022-03-14 18:41 ` [Bug c/83840] missing -Wmemset-elt-size with address of array element jakub 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).