https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112364
--- Comment #5 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to Martin Uecker from comment #4) > Interesting. But independently of alignment, the description of calloc makes > it clear that it allocates an array of nmemb objects of size x. So in any > case I think the code should be changed accordingly, which seems simple > enough. Yes, it definitely needs a change.