[Bug target/83930] [6 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
Mon Jun 25 17:13:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83930
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 25 17:13:04 2018
New Revision: 262055
URL: https://gcc.gnu.org/viewcvs?rev=262055&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-6-branch/gcc/testsuite/gcc.dg/pr83930.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/simplify-rtx.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list