https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83022
--- Comment #17 from Fangrui Song <i at maskray dot me> --- I hope that we just remove this malloc+memset => calloc transformation. Even in the malloc-dom-memset and memset-postdom-malloc case, calloc might not be an optimization. It is not worth the extra code complexity. https://reviews.llvm.org/D103009#2957843