https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113012
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > Note I am not 100% sure the above code is well defined due to subtracting > one from the allocated array. and yes this represents exactly what the code does.