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/77485] Missed dead store elimination of aggregate store followed by partial stores


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

--- Comment #14 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Fri Jan 13 15:46:22 2017
New Revision: 244443

URL: https://gcc.gnu.org/viewcvs?rev=244443&root=gcc&view=rev
Log:
        PR tree-optimization/61912
        PR tree-optimization/77485
        * tree-ssa-dse.c: Include expr.h.
        (maybe_trim_constructor_store): New function.
        (maybe_trim_partially_dead_store): Call maybe_trim_constructor_store.

        PR tree-optimization/61912
        PR tree-optimization/77485
        * g++.dg/tree-ssa/ssa-dse-1.C: New test.
        * gcc.dg/tree-ssa/pr30375: Adjust expected output.
        * gcc.dg/tree-ssa/ssa-dse-24.c: New test.

Added:
    trunk/gcc/testsuite/g++.dg/tree-ssa/ssa-dse-1.C
    trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-24.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr30375.c
    trunk/gcc/tree-ssa-dse.c

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