]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gty.texi: Remove instructions for adding a dependency on s-gtype.
authorAlan Modra <amodra@gcc.gnu.org>
Wed, 7 Dec 2005 11:22:18 +0000 (21:52 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Wed, 7 Dec 2005 11:22:18 +0000 (21:52 +1030)
gcc/
* doc/gty.texi: Remove instructions for adding a dependency on s-gtype.
* Makefile.in: Add code to compute some dependencies on s-gtype
automatically.  Remove the declaration of those dependencies.
gcc/java/
* Make-lang.in: Remove all dependencies on s-gtype, except for
gt-java-parse.h.
gcc/objc/
* Make-lang.in: Remove all dependencies on s-gtype.
gcc/objcp/
* Make-lang.in: Remove all dependencies on s-gtype.
gcc/cp/
* Make-lang.in: Remove all dependencies on s-gtype.
gcc/ada/
* Make-lang.in: Remove all dependencies on s-gtype.
gcc/fortran/
* Make-lang.in: Remove all dependencies on s-gtype, except for
gt-fortran-trans.h.
gcc/treelang/
* Make-lang.in: Remove all dependencies on s-gtype.

From-SVN: r108155

17 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/ada/ChangeLog
gcc/ada/Make-lang.in
gcc/cp/ChangeLog
gcc/cp/Make-lang.in
gcc/doc/gty.texi
gcc/fortran/ChangeLog
gcc/fortran/Make-lang.in
gcc/java/ChangeLog
gcc/java/Make-lang.in
gcc/objc/ChangeLog
gcc/objc/Make-lang.in
gcc/objcp/ChangeLog
gcc/objcp/Make-lang.in
gcc/treelang/ChangeLog
gcc/treelang/Make-lang.in

index 194ed62c12f790095554624b1ff7f398cc6cfca3..1e698c0ccdabd68c26bdaea4af52d8408c8e13e0 100644 (file)
@@ -1,3 +1,9 @@
+2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * doc/gty.texi: Remove instructions for adding a dependency on s-gtype.
+       * Makefile.in: Add code to compute some dependencies on s-gtype
+       automatically.  Remove the declaration of those dependencies.
+
 2005-12-07  Richard Sandiford  <richard@codesourcery.com>
 
        * gcc/reload.c (push_secondary_reload): Fix typo:
 
 2005-12-06  Aldy Hernandez  <aldyh@redhat.com>
 
-       PR C++/24138
-        * tree.c (integer_all_onesp): Always return true if all bits on.
+       PR C++/24138
+       * tree.c (integer_all_onesp): Always return true if all bits on.
 
-        * testsuite/g++.dg/init/array0.C: New.
+       * testsuite/g++.dg/init/array0.C: New.
 
 2005-12-06  Adrian Straetling  <straetling@de.ibm.com>
 
-         * doc/md.texi: Adapt to implementation.
+       * doc/md.texi: Adapt to implementation.
 
 2005-12-06  Andreas Schwab  <schwab@suse.de>
 
index 51d87315ef3ea8f070af74d61b988bb79aa15439..c70f249bba4188495054a6926b321873ec2671be 100644 (file)
@@ -2776,14 +2776,25 @@ GTFILES_FILES_FILES = @all_gtfiles_files_files@
 GTFILES_LANG_DIR_NAMES = @subdirs@
 GTFILES_SRCDIR = @srcdir@
 
+GTFILES_FILES_FILES_C = $(subst $(srcdir)/,, \
+       $(filter %.c, $(GTFILES_FILES_FILES)))
+GTFILES_FILES_FILES_H = $(addprefix gt-, \
+       $(subst /,-,$(GTFILES_FILES_FILES_C:.c=.h)))
+GTFILES_LANG_DIR_NAMES_H = $(foreach d,$(GTFILES_LANG_DIR_NAMES), gtype-$(d).h)
+ALL_GTFILES_H := $(shell echo $(GTFILES_FILES_FILES_H) \
+       $(GTFILES_LANG_DIR_NAMES_H) | sed "s/ /\n/g" | sort -u)
+
+$(ALL_GTFILES_H) : s-gtype ; @true
+
+
 gt-cgraph.h gt-coverage.h gtype-desc.h gtype-desc.c gt-except.h \
 gt-function.h gt-integrate.h gt-tree.h gt-varasm.h \
 gt-emit-rtl.h gt-explow.h gt-stor-layout.h gt-regclass.h \
 gt-lists.h gt-alias.h gt-cselib.h gt-gcse.h \
 gt-expr.h gt-sdbout.h gt-optabs.h gt-bitmap.h gt-dojump.h \
 gt-dwarf2out.h gt-reg-stack.h gt-dwarf2asm.h \
-gt-dbxout.h gt-c-common.h gt-c-decl.h gt-c-parser.h \
-gt-c-pragma.h gtype-c.h gt-cfglayout.h \
+gt-dbxout.h \
+gtype-c.h gt-cfglayout.h \
 gt-tree-mudflap.h gt-tree-vect-generic.h \
 gt-tree-profile.h gt-tree-ssa-address.h \
 gt-tree-ssanames.h gt-tree-iterator.h gt-gimplify.h \
index 3d978b53599a7f99c7ec6dd9438f7b30e588931f..59f1a8873360e622250c9d6445357e8ecdd97f22 100644 (file)
@@ -1,3 +1,7 @@
+2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * Make-lang.in: Remove all dependencies on s-gtype.
+
 2005-12-05  Richard Guenther  <rguenther@suse.de>
 
        * utils.c (convert): Use fold_convert where appropriate.
index d6f78bdf501a764fb4cefd0dd56e90ba5a11f89c..2f25270541a041d574e00b5d1fb226e6563e329f 100644 (file)
@@ -298,7 +298,7 @@ gen-soccon: force
           LIBGNAT_OBJS=gen-soccon \
           gnatlib
 
-gt-ada-decl.h gt-ada-trans.h gt-ada-utils.h gtype-ada.h : s-gtype ; @true
+
 \f
 # Build hooks:
 
index 77f506e93bdd7580359cd1a4bc9d2026df8d8a2c..05f7cadc4f4db63837d3056d11665c479c43f243 100644 (file)
@@ -1,3 +1,7 @@
+2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * Make-lang.in: Remove all dependencies on s-gtype.
+
 2005-12-06  Aldy Hernandez  <aldyh@redhat.com>
 
        PR C++/24138
index 7b9b7d9046ef67d6fa41457645e7148de3201183..e9fce7d9e2dbc2876995d21fbcd8aeb7efbfc534 100644 (file)
@@ -109,11 +109,6 @@ $(srcdir)/cp/cfns.h: $(srcdir)/cp/cfns.gperf
        gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L ANSI-C \
                $(srcdir)/cp/cfns.gperf > $(srcdir)/cp/cfns.h
 
-gtype-cp.h gt-cp-call.h gt-cp-decl.h gt-cp-decl2.h : s-gtype; @true
-gt-cp-pt.h gt-cp-repo.h gt-cp-parser.h gt-cp-method.h : s-gtype; @true
-gt-cp-tree.h gt-cp-mangle.h gt-cp-name-lookup.h gt-cp-typeck2.h: s-gtype; @true
-gt-cp-rtti.h gt-cp-cp-objcp-common.h: s-gtype ; @true
-
 #\f
 # Build hooks:
 
index cf4bde76d7328959d921901d78b2486311a0de94..d997d1edc6dd1c3591604d7c65529de72775bd6b 100644 (file)
@@ -429,16 +429,8 @@ generated header file should be included after everything else in the
 source file.  Don't forget to mention this file as a dependency in the
 @file{Makefile}!
 
-@item
-If a new @file{gt-@var{path}.h} file is needed, you need to arrange to
-add a @file{Makefile} rule that will ensure this file can be built.
-This is done by making it a dependency of @code{s-gtype}, like this:
-@verbatim
-gt-path.h : s-gtype ; @true
-@end verbatim
 @end enumerate
 
 For language frontends, there is another file that needs to be included
 somewhere.  It will be called @file{gtype-@var{lang}.h}, where
 @var{lang} is the name of the subdirectory the language is contained in.
-It will need @file{Makefile} rules just like the other generated files.
index 00dcfddb6f6f114b4dbd1c473cb22723f8f12da7..d43c884012438851a21dc6ff674bde6dc8421121 100644 (file)
@@ -1,3 +1,8 @@
+2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * Make-lang.in: Remove all dependencies on s-gtype, except for
+       gt-fortran-trans.h.
+
 2005-12-30  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
 
        PR fortran/25106
index 5d3a0e0ef5fcff3be42d038fa0a81b548ff84ad1..d8a9f1c64fe3c032fe46bc380d1350680b21a2a6 100644 (file)
@@ -108,11 +108,7 @@ f951$(exeext): $(F95_OBJS) \
        $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \
                $(F95_OBJS) $(BACKEND) $(F95_LIBS)
 
-gt-fortran-f95-lang.h gtype-fortran.h        : s-gtype; @true
-gt-fortran-trans-decl.h gt-fortran-trans.h    : s-gtype; @true
-gt-fortran-trans-io.h gt-fortran-trans-types.h: s-gtype; @true
-gt-fortran-trans-intrinsic.h                 : s-gtype; @true
-
+gt-fortran-trans.h    : s-gtype; @true
 #\f
 # Build hooks:
 
index cdcf6ee086dd487787547e1d0ede6df0a13f9aa2..e294b03ff90ec62d6c6fc6c4c3f0db9cde7f895c 100644 (file)
@@ -1,3 +1,8 @@
+2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * Make-lang.in: Remove all dependencies on s-gtype, except for
+       gt-java-parse.h.
+
 2005-12-07  Richard Sandiford  <richard@codesourcery.com>
 
        * class.c (build_utf8_ref, emit_register_classes): Use
index 458d65b80ebbed0e622ad3e8b1ed4dfd365ac45a..2605fd21a2967828449d1fc774c4428b7e654df6 100644 (file)
@@ -95,10 +95,7 @@ $(srcdir)/java/keyword.h: $(srcdir)/java/keyword.gperf
        exit 1; } ; \
        mv -f k$$$$.h keyword.h)
 
-gt-java-class.h gt-java-constants.h gt-java-decl.h : s-gtype ; @true
-gt-java-expr.h gt-java-jcf-parse.h gt-java-jcf-write.h : s-gtype ; @true
-gt-java-lang.h gt-java-mangle.h gt-java-parse.h : s-gtype ; @true
-gt-java-builtins.h gtype-java.h gt-java-resource.h : s-gtype ; @true
+gt-java-parse.h : s-gtype ; @true
 
 # Executables built by this Makefile:
 JAVA_OBJS = java/parse.o java/class.o java/decl.o java/expr.o \
index 8ad03db40b7ab4812a8d09e3c2e7c2a68b4a83bf..f9c1ac6b0500c0741d3578e5765b7ccb3566b679 100644 (file)
@@ -1,3 +1,7 @@
+2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * Make-lang.in: Remove all dependencies on s-gtype.
+
 2005-12-02  Richard Guenther  <rguenther@suse.de>
 
        * objc-act.c (objc_build_exc_ptr, next_sjlj_build_enter_and_setjmp
index ed22bd6c116e60416de7b3c87a79d43a1905504d..ebe54673abadc5b874b8f0783f09d967aec7e507 100644 (file)
@@ -81,9 +81,6 @@ objc/objc-act.o : objc/objc-act.c \
 
 objc.srcextra:
 
-gtype-objc.h : s-gtype ; @true
-gt-objc-objc-act.h : s-gtype ; @true
-
 #\f
 # Build hooks:
 
index c89d3be736fa77a8d4703062bd71376f33032b2c..305ef686361ef62bcede4b7f09a8fd74f05aa9c8 100644 (file)
@@ -1,3 +1,7 @@
+2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * Make-lang.in: Remove all dependencies on s-gtype.
+
 2005-11-22  Andrew Pinski  <pinskia@physics.uc.edu>
 
        * objcp-decl.c (objcp_lookup_name): Remove.
index f2057289742a6aa584d195033124347459f7e533..ac3dd9a5933d834529bbfd8c4e643c0676314d07 100644 (file)
@@ -89,8 +89,6 @@ objcp/objcp-act.o : objc/objc-act.c \
 
 po-generated:
 
-gtype-objcp.h : s-gtype ; @true
-
 #\f
 # Build hooks:
 
index 69963642ee5adcf28045f08e51b7e3ec11d72247..9f14343ecec3b49bed1b7bee9ce89a0f5a615ccb 100644 (file)
@@ -1,3 +1,7 @@
+2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * Make-lang.in: Remove all dependencies on s-gtype.
+
 2005-12-05  Richard Guenther  <rguenther@suse.de>
 
        * treetree.c (tree_code_if_start, tree_code_create_variable,
index 8e99dd770c2a9772f57be66a339f01bd3a0339c9..3c44187b3878736de2dfdb3bcf0cee81f7d8a444 100644 (file)
@@ -138,8 +138,6 @@ treelang/parse.c treelang/parse.h treelang/parse.output: treelang/parse.y
 
 # -v
 
-gt-treelang-tree1.h gtype-treelang.h : s-gtype; @true
-
 #\f
 # Build hooks: