re PR target/79080 (ICE: internal consistency failure (error: invalid rtl sharing...
authorJakub Jelinek <jakub@redhat.com>
Mon, 16 Jan 2017 21:34:35 +0000 (22:34 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 16 Jan 2017 21:34:35 +0000 (22:34 +0100)
commite1bcfb924ae9b6dffd7757a6f1a193793af58c2f
tree97c5bf3c97e4747ef5fc4e016464ce03bd36014b
parent1c70261c9a4d7faedfb03a79753b9acf81195561
re PR target/79080 (ICE: internal consistency failure (error: invalid rtl sharing found in the insn) (error: shared rtx))

PR target/79080
* loop-doloop.c (doloop_modify): Call unshare_all_rtl_in_chain on
sequence.  Formatting fixes.
(doloop_optimize): Formatting fixes.

* gcc.dg/pr79080.c: New test.

From-SVN: r244506
gcc/ChangeLog
gcc/loop-doloop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr79080.c [new file with mode: 0644]