https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83409
Arnd Bergmann <arnd at linaro dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-reduction | --- Comment #1 from Arnd Bergmann <arnd at linaro dot org> --- Reduced to: $ arc-elf-gcc-7.2.1 -O2 -c scatterlist.i struct scatterlist { long sg_magic; long page_link; int offset; }; int a, b; int fn2(void); struct scatterlist g; void fn1(void) { do { struct scatterlist *c = &g; a = 0; for (; a < b; a++) c[a].sg_magic = 1; if (fn2()) while (10) ; } while (1); }