https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127082
--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andrew Macleod <[email protected]>: https://gcc.gnu.org/g:c152cee29654b3008f20e2247251a980b40114e9 commit r17-3723-gc152cee29654b3008f20e2247251a980b40114e9 Author: Andrew MacLeod <[email protected]> Date: Thu Aug 27 17:06:30 2026 -0400 Handle different signs in MOD ranges. PR tree-optimization/127082 gcc/ * range-op.cc (operator_trunc_mod::same_quotient): New. (operator_trunc_mod::wi_fold): Call same_quotient. gcc/testsuite/ * gcc.dg/pr127082.c: New.
