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/78547] [7 Regression] ICE: in loc_cmp, at var-tracking.c:3417 with -Os -g -mstringop-strategy=libcall -freorder-blocks-algorithm=simple


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Dec  2 08:44:42 2016
New Revision: 243165

URL: https://gcc.gnu.org/viewcvs?rev=243165&root=gcc&view=rev
Log:
        PR rtl-optimization/78547
        * emit-rtl.c (unshare_all_rtl): Make sure DECL_RTL and
        DECL_INCOMING_RTL is not shared.
        * config/i386/i386.c (convert_scalars_to_vectors): If any
        insns have been converted, adjust all parameter's DEC_RTL and
        DECL_INCOMING_RTL back from V1TImode to TImode if the parameters have
        TImode.

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

Added:
    trunk/gcc/testsuite/gcc.dg/pr78547.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/emit-rtl.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]