This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR38851, missing DSE of zero-sized stores
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 26 Jan 2009 12:12:32 +0100
- Subject: Re: [PATCH] Fix PR38851, missing DSE of zero-sized stores
[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