https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112364
--- Comment #11 from Martin Uecker <muecker at gwdg dot de> --- This is one possible way to read it. But as written, I think one can easily understand it the other way, because calloc never mentions requested total size but only about space for an array of objects of size 'size'. And then also 7.24.3 continues with "It may then be used to access such an object or an array of such objects.." which would also imply that the "size" in the sentence before refers to the size of an individual object. Anyway, I think it does not really matter for us... IMHO it is still useful to make the code have the logical order as documented for calloc. And if it turns out that the warning annoys too many people in this way, we can still tweak it before the release.