[Bug rtl-optimization/91976] [10 regression] RTL check: expected code 'const_int', have 'reg' in emit_block_move_hints, at expr.c:1627
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 2 22:34:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91976
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Oct 2 22:33:39 2019
New Revision: 276495
URL: https://gcc.gnu.org/viewcvs?rev=276495&root=gcc&view=rev
Log:
PR rtl-optimization/91976
* expr.c (emit_block_move_hints): Don't call can_move_by_pieces if
size is not CONST_INT_P, set pieces_ok to false in that case. Simplify
CONST_INT_P (size) && pieces_ok to pieces_ok. Formatting fix.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/expr.c
More information about the Gcc-bugs
mailing list