https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104069
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Component|c |tree-optimization --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The warning defiantly looks wrong. Realloc fails so it's argument is still valid.