]> git.ipfire.org Git - thirdparty/gcc.git/commit
Ensure emit_move_insn operands are valid
authorAndrew Stubbs <ams@codesourcery.com>
Fri, 7 May 2021 14:31:05 +0000 (15:31 +0100)
committerAndrew Stubbs <ams@codesourcery.com>
Fri, 7 May 2021 22:47:38 +0000 (23:47 +0100)
commit07d7d37d1a33efb04f1262e56f4b82d6e1089e75
tree9265b0ef8ef7bae044a42c212f73acf1a7b2911d
parenta87ceadf17b4a899f3e74e2da8b6b209461d2742
Ensure emit_move_insn operands are valid

Some architectures are fine with PLUS in move instructions, but others
are not (amdgcn is the motivating example).

2021-05-07  Jakub Jelinek  <jakub@redhat.com>
    Andrew Stubbs  <amd@codesourcery.com>

gcc/ChangeLog:

PR target/100418
* builtins.c (try_store_by_multiple_pieces): Use force_operand for
emit_move_insn operands.
gcc/builtins.c