[PATCH] Fix PR38851, missing DSE of zero-sized stores

Steven Bosscher stevenb.gcc@gmail.com
Mon Jan 26 11:25:00 GMT 2009


[xf. http://gcc.gnu.org/ml/gcc-patches/2009-01/msg01265.html]

> Index: gcc/tree-ssa-dse.c
> ===================================================================
> *** gcc/tree-ssa-dse.c.orig	2009-01-25 22:57:52.000000000 +0100
> --- gcc/tree-ssa-dse.c	2009-01-25 22:58:07.000000000 +0100
> *************** along with GCC; see the file COPYING3.
> *** 34,39 ****
> --- 34,40 ----
>   #include "tree-dump.h"
>   #include "domwalk.h"
>   #include "flags.h"
> + #include "langhooks.h"

Looks like spitting in the face of LTO :-)

Is there no way to fix this without introducing new uses of langhooks
in the middle end?

Gr.
Steven



More information about the Gcc-patches mailing list