https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124583
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #10 from Drea Pinski <pinskia at gcc dot gnu.org> ---
char *iw = (char *)iu + p1[0];
Will point to outside of the array (before) which is undefined.
p1[0] is -82.
So yes this is undefined code.
Nothing to fix here.
