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 tree-optimization/83170] [8 Regression] ICE: Segmentation fault - during GIMPLE pass: store-merging


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Dec  2 07:58:57 2017
New Revision: 255356

URL: https://gcc.gnu.org/viewcvs?rev=255356&root=gcc&view=rev
Log:
        PR tree-optimization/83170
        PR tree-optimization/83241
        * gimple-ssa-store-merging.c
        (imm_store_chain_info::try_coalesce_bswap): Update vuse field from
        gimple_vuse (ins_stmt) in case it has changed.
        (imm_store_chain_info::output_merged_store): Likewise.

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

Added:
    trunk/gcc/testsuite/gcc.dg/store_merging_17.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-ssa-store-merging.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]