https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97976

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I don't think there is a bug here.

This loop here:
for (const int* pi = data; pi; ++pi)
invokes undefined behavior as pi can never become null after doing the
increment.

Reply via email to