public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/66529] New: terminals.c: sizeof pointer memaccess
@ 2015-06-13 17:30 pini_os at yahoo dot fr
  2015-06-13 17:31 ` [Bug ada/66529] " pini_os at yahoo dot fr
  0 siblings, 1 reply; 2+ messages in thread
From: pini_os at yahoo dot fr @ 2015-06-13 17:30 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66529
           Summary: terminals.c: sizeof pointer memaccess
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pini_os at yahoo dot fr
  Target Milestone: ---

Compiling Ada frontend with -Wsizeof-pointer-memaccess reports a warning
because the bzero call in function 'child_static_tty' in gcc/ada/terminals.c
is:

bzero(&s, sizeof (&s));

but it should be:

bzero(&s, sizeof (s));


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug ada/66529] terminals.c: sizeof pointer memaccess
  2015-06-13 17:30 [Bug ada/66529] New: terminals.c: sizeof pointer memaccess pini_os at yahoo dot fr
@ 2015-06-13 17:31 ` pini_os at yahoo dot fr
  0 siblings, 0 replies; 2+ messages in thread
From: pini_os at yahoo dot fr @ 2015-06-13 17:31 UTC (permalink / raw)
  To: gcc-bugs

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

Pierre-Nicolas Clauss <pini_os at yahoo dot fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Pierre-Nicolas Clauss <pini_os at yahoo dot fr> ---
Duplicate entry

*** This bug has been marked as a duplicate of bug 65490 ***


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-13 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-13 17:30 [Bug ada/66529] New: terminals.c: sizeof pointer memaccess pini_os at yahoo dot fr
2015-06-13 17:31 ` [Bug ada/66529] " pini_os at yahoo dot fr

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).