https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71321
Jeffrey A. Law <law at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at redhat dot com Summary|[6/7 Regression] x86: worse |[6 Regression] x86: worse |code for uint8_t % 10 and / |code for uint8_t % 10 and / |10 |10 --- Comment #7 from Jeffrey A. Law <law at redhat dot com> --- THe regression relative to gcc-5 has been fixed on the trunk. It would be worth creating a separate bug for the unnecessary AND when compiling with -Os that all versions of GCC exhibit.