re PR middle-end/79909 (ICE error: invalid rtl sharing found in the insn on ppc64le)
authorJakub Jelinek <jakub@redhat.com>
Fri, 10 Mar 2017 07:57:45 +0000 (08:57 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 10 Mar 2017 07:57:45 +0000 (08:57 +0100)
commit2d9dd4fb867bffd009ebc85896dceb932559d90a
tree859f76c7bfa5b01e9fbcd6007700545c2a15875c
parent72772e6761c5930db346e5cdc2a1537585940502
re PR middle-end/79909 (ICE error: invalid rtl sharing found in the insn on ppc64le)

PR rtl-optimization/79909
* combine.c (try_combine): Use simplify_replace_rtx on individual
CALL_INSN_FUNCTION_USAGE elements instead of replace_rtx on copy_rtx
of the whole CALL_INSN_FUNCTION_USAGE.

* gcc.target/powerpc/pr79909.c: New test.

From-SVN: r246023
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr79909.c [new file with mode: 0644]