gty.texi: Remove instructions for adding a dependency on s-gtype.

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
This commit is contained in:
Alan Modra 2005-12-07 21:52:18 +10:30
parent 58477b5d26
commit 2f4d2d181a
17 changed files with 56 additions and 36 deletions

View 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:
@ -516,14 +522,14 @@
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>

View 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 \

View 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.

View 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
# Build hooks:

View 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

View 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
#
# Build hooks:

View 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.

View 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

View 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
#
# Build hooks:

View 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

View 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 \

View 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

View 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
#
# Build hooks:

View 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.

View File

@ -89,8 +89,6 @@ objcp/objcp-act.o : objc/objc-act.c \
po-generated:
gtype-objcp.h : s-gtype ; @true
#
# Build hooks:

View 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,

View 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
#
# Build hooks: