https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70773
PeteVine <tulipawn at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |FIXED --- Comment #20 from PeteVine <tulipawn at gmail dot com> --- The bug doesn't reproduce in a recent GCC 8 build (profiling on a Cortex A5 system). The generated assembly contains no __aeabi_idiv calls whatsoever. Well done.