https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111523
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- One thing I noticed is that malloc_usable_size is used for greedy_realloc but that should not change based on if -ftrivial-auto-var-init is used or not.