This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Make tree-ssa-structalias.o depend on $(EXPR_H)
On Mon, Jul 04, 2005 at 05:23:28PM -0700, H. J. Lu wrote:
> On Mon, Jul 04, 2005 at 08:17:14PM -0400, Diego Novillo wrote:
> > On Mon, Jul 04, 2005 at 05:10:21PM -0700, H. J. Lu wrote:
> > > tree-ssa-structalias.c includes expr.h. But $(EXPR_H) is missing.
> > > This patch adds $(EXPR_H).
> > >
> > Have you checked if it really needs to include expr.h? It
> > shouldn't need to.
>
> I don't know.
>
It doesn't. I've committed this:
* tree-ssa-structalias.c: Don't include expr.h.
Index: tree-ssa-structalias.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-structalias.c,v
retrieving revision 2.10
retrieving revision 2.11
diff -d -u -p -r2.10 -r2.11
--- tree-ssa-structalias.c 4 Jul 2005 17:49:15 -0000 2.10
+++ tree-ssa-structalias.c 5 Jul 2005 00:32:36 -0000 2.11
@@ -34,7 +34,6 @@ Foundation, Inc., 51 Franklin Street, Fi
#include "basic-block.h"
#include "output.h"
#include "errors.h"
-#include "expr.h"
#include "diagnostic.h"
#include "tree.h"
#include "c-common.h"