https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102232
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jeff Law <l...@gcc.gnu.org>: https://gcc.gnu.org/g:df1a0d526e2e4c75311345c0b73ce8483e243899 commit r12-5460-gdf1a0d526e2e4c75311345c0b73ce8483e243899 Author: Navid Rahimi <navidrah...@microsoft.com> Date: Mon Nov 22 22:07:35 2021 -0500 Re: [PATCH] PR tree-optimization/102232 Adding a missing pattern to match.pd PR tree-optimization/102232 gcc/ * match.pd (x * (1 + y / x) - y) -> (x - y % x): New optimization. gcc/testsuite/ * gcc.dg/tree-ssa/pr102232.c: Testcase for this optimization.