This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/80500] [7/8 Regression] ICE: internal consistency failure (error: invalid rtl sharing found in the insn)


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]