On Sun, 11 May 2025 at 12:34, Cassio Neri <cassio.n...@gmail.com> wrote: > > Hi all, > > After reflecting on my previous message and Andrew's, I now believe this > patch is not the best solution to optimise the day of the week. Instead, the > optimisation for n % 7 should be done by the compiler depending on the > platform. > > I'll open a missing optimisation opportunity bug report against GCC with my > suggestions. > > Therefore, expecting a better solution from the compiler, I'd ask you to > disregard this patch.
OK. Thank you both for working through this.