This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix DSE with nop or maybe nop assignments (PR c++/34459)
- From: "Daniel Berlin" <dberlin at dberlin dot org>
- To: "Diego Novillo" <dnovillo at google dot com>
- Cc: "Jakub Jelinek" <jakub at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 20 Dec 2007 15:53:34 -0500
- Subject: Re: [PATCH] Fix DSE with nop or maybe nop assignments (PR c++/34459)
- References: <20071220000244.GY20451@devserv.devel.redhat.com> <476A6763.8050207@google.com>
This is a side-effect of vdef implying vuse :)
On Dec 20, 2007 8:00 AM, Diego Novillo <dnovillo@google.com> wrote:
> On 12/19/07 19:02, Jakub Jelinek wrote:
>
> > PR c++/34459
> > * tree-ssa-dse.c (dse_optimize_stmt): Don't eliminate store if
> > USE_STMT not only stores into the same object as STMT, but might
> > read it too.
> >
> > * gcc.c-torture/execute/20071219-1.c: New test.
>
> OK. DSE needs to be rewritten.
>
>
> Diego.
>