re PR rtl-optimization/91976 (RTL check: expected code 'const_int', have 'reg' in...
authorJakub Jelinek <jakub@redhat.com>
Wed, 2 Oct 2019 22:33:39 +0000 (00:33 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 2 Oct 2019 22:33:39 +0000 (00:33 +0200)
commit775eaa4d83458393a34aa6197ff823b63d6078fd
tree1238acad4fded9e02848fdc004a8f02d187e6845
parent1006c9d4395a939820df76f37c7b085a4a1a003f
re PR rtl-optimization/91976 (RTL check: expected code 'const_int', have 'reg' in emit_block_move_hints, at expr.c:1627)

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.

From-SVN: r276495
gcc/ChangeLog
gcc/expr.c