[Bug target/83930] [6/7 Regression] ICE: RTL check: expected code 'const_int', have 'mem' in simplify_binary_operation_1, at simplify-rtx.c:3302
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Mar 3 13:15:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83930
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Mar 3 13:14:58 2018
New Revision: 258170
URL: https://gcc.gnu.org/viewcvs?rev=258170&root=gcc&view=rev
Log:
Backported from mainline
2018-01-20 Jakub Jelinek <jakub@redhat.com>
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:
branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr83930.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/simplify-rtx.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list