https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120661
--- Comment #6 from Andrew Macleod <amacleod at redhat dot com> --- > > Im not sure the best solution immediately... Let me experiment btw, that is for the second testcase at -Os. The first one is a similar situation, with a different calculation... but it is again cyclic due to bitmasks.