https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102998
sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sandra at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |sandra at gcc dot gnu.org --- Comment #3 from sandra at gcc dot gnu.org --- The argument to malloc is 4, but it's given in bytes, not array elements. I can tweak this example to make it more clear that the array is too small. There are other problems here too; -Warray-parameter isn't listed in the Options Summary section, it doesn't say what N defaults to if you omit it, or that the negative form is equivalent to -Warray-parameter=0.