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 middle-end/79909] [7 Regression] ICE error: invalid rtl sharing found in the insn on ppc64le


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79909

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Mar 10 07:57:45 2017
New Revision: 246023

URL: https://gcc.gnu.org/viewcvs?rev=246023&root=gcc&view=rev
Log:
        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.

Added:
    trunk/gcc/testsuite/gcc.target/powerpc/pr79909.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/combine.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]