https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111043
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> --- Reduced code is i_1; *func_14_ptr_4; short func_14_s_8; func_14() { int i_2; int *ptr_6 = &i_1; *ptr_6 = 8; for (; *ptr_6 <= 9; *ptr_6 += 1) i_2 = *ptr_6; func_14_s_8 = 1; for (; func_14_s_8 <= 9;) { func_14_s_8 += i_2; *func_14_ptr_4 %= i_1; } }