This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/80500] [7/8 Regression] ICE: internal consistency failure (error: invalid rtl sharing found in the insn)
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Apr 2017 07:27:35 +0000
- Subject: [Bug rtl-optimization/80500] [7/8 Regression] ICE: internal consistency failure (error: invalid rtl sharing found in the insn)
- Auto-submitted: auto-generated
- References: <bug-80500-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80500
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr 25 07:27:01 2017
New Revision: 247126
URL: https://gcc.gnu.org/viewcvs?rev=247126&root=gcc&view=rev
Log:
PR rtl-optimization/80500
* loop-unroll.c (combine_var_copies_in_loop_exit): Call copy_rtx on
sum's initial value.
* gcc.dg/pr80500.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr80500.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/loop-unroll.c
trunk/gcc/testsuite/ChangeLog