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 target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743


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

--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Dec  2 15:42:04 2016
New Revision: 243194

URL: https://gcc.gnu.org/viewcvs?rev=243194&root=gcc&view=rev
Log:
        PR target/78614
        * rtl.c (copy_rtx): Don't clear used flag here.
        (shallow_copy_rtx_stat): Clear used flag here unless code the rtx
        is shareable.
        * simplify-rtx.c (simplify_replace_fn_rtx): When copying rtx with
        'E' in format, copy all vectors.
        * emit-rtl.c (copy_insn_1): Don't clear used flag here.
        * valtrack.c (cleanup_auto_inc_dec): Likewise.
        * config/rs6000/rs6000.c (rs6000_frame_related): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/emit-rtl.c
    trunk/gcc/rtl.c
    trunk/gcc/valtrack.c

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