[ast-optimizer] Fix cp/Make-lang.in

Andreas Jaeger aj@suse.de
Fri Jun 21 08:01:00 GMT 2002


Doing a parallel build of the ast-optimizer-branch on i686-linux-gnu I
received this error:

In file included from /cvs/gcc-ast-optimizer-branch/gcc/cp/cp-simplify.c:23:
config.h:32:29: insn-constants.h: No such file or directory
config.h:33:25: insn-flags.h: No such file or directory
In file included from /cvs/gcc-ast-optimizer-branch/gcc/cp/cp-simplify.c:25:
/cvs/gcc-ast-optimizer-branch/gcc/tree.h:333:24: tree-check.h: No such file or directory

cp/cp-simplify was not listed in Make-lang.in.

The appended patch fixes this.  Bootstrapped/regtested on
i686-linux-gnu.

I've committed the patch as obvious,
Andreas

2002-06-21  Andreas Jaeger  <aj@suse.de>

	* Make-lang.in (cp/cp-simplify.o): New.

============================================================
Index: gcc/cp/Make-lang.in
--- gcc/cp/Make-lang.in	18 Jun 2002 16:40:24 -0000	1.88.2.16
+++ gcc/cp/Make-lang.in	21 Jun 2002 12:18:39 -0000
@@ -1,5 +1,5 @@
 # Top level -*- makefile -*- fragment for GNU C++.
-#   Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001
+#   Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002
 #   Free Software Foundation, Inc.
 
 #This file is part of GNU CC.
@@ -306,6 +306,8 @@ cp/parse.o: cp/parse.c $(CXX_TREE_H) fla
 	$(SYSTEM_H) toplev.h $(GGC_H) gt-cp-parse.h
 	$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(BIG_SWITCHFLAG) \
 		$(srcdir)/cp/parse.c $(OUTPUT_OPTION)
+cp/cp-simplify.o: cp/cp-simplify.c $(CXX_TREE_H) toplev.h c-common.h
+
 #
 # These exist for maintenance purposes.
 

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Gcc-patches mailing list