https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66247
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
static const int offset[] = {
-2, -1, 0, 1, 2, 3
};
...
for (oindex = 0; oindex <= (int) (sizeof (offset) / sizeof
((offset)[0])); oindex++)
{
o = offset[oindex];
if ((int) isize*(64 - 0) < -o)
continue;
(unless the test is exiting the loop through exit (1);) seems to be undefined
behavior, for offset[6] you can only validly takes its address, but not
dereference it.