https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105051
--- Comment #4 from Godmar Back <godmar at gmail dot com> --- Don't let perfect be the enemy of good. IMO, the detection doesn't need to be perfect in the sense of not having false negatives. All 3 bug reports of the calloc implementations you broke called malloc + memset directly in calloc, something that (I'd guess?) should be more readily detectable.