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/35472] [4.3 Regression] tree DSE is broken



------- Comment #5 from rguenth at gcc dot gnu dot org  2008-03-07 09:47 -------
Subject: Bug 35472

Author: rguenth
Date: Fri Mar  7 09:47:06 2008
New Revision: 133004

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133004
Log:
2008-03-07  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/35472
        * tree-ssa-dse.c (dse_optimize_stmt): Do not delete a store
        whose single use_stmt has a overlapping set of loaded and
        stored symbols as that use_stmt might be a noop assignment then.

        * gcc.c-torture/execute/pr35472.c: New testcase.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/execute/pr35472.c
      - copied unchanged from r132899,
trunk/gcc/testsuite/gcc.c-torture/execute/pr35472.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_3-branch/gcc/tree-ssa-dse.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35472


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