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