[PATCH] Fix DSE with nop or maybe nop assignments (PR c++/34459)

Daniel Berlin dberlin@dberlin.org
Thu Dec 20 20:59:00 GMT 2007


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.
>



More information about the Gcc-patches mailing list