https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83930
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Sat Jan 20 09:54:06 2018 New Revision: 256915 URL: https://gcc.gnu.org/viewcvs?rev=256915&root=gcc&view=rev Log: PR target/83930 * simplify-rtx.c (simplify_binary_operation_1) <case UMOD>: Use UINTVAL (trueop1) instead of INTVAL (op1). * gcc.dg/pr83930.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr83930.c Modified: trunk/gcc/ChangeLog trunk/gcc/simplify-rtx.c trunk/gcc/testsuite/ChangeLog