[Bug c/55791] gcc fails to detect wrong type in sizeof in malloc

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 6 07:28:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55791

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
We have -Wsizeof-pointer-memaccess warning for memcpy/memmove/memcmp/..., but I
don't think we can do something about malloc.



More information about the Gcc-bugs mailing list