Commit 2f4d2d18 by Alan Modra

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
parent 58477b5d
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> 2005-12-07 Richard Sandiford <richard@codesourcery.com>
* gcc/reload.c (push_secondary_reload): Fix typo: * gcc/reload.c (push_secondary_reload): Fix typo:
...@@ -516,14 +522,14 @@ ...@@ -516,14 +522,14 @@
2005-12-06 Aldy Hernandez <aldyh@redhat.com> 2005-12-06 Aldy Hernandez <aldyh@redhat.com>
PR C++/24138 PR C++/24138
* tree.c (integer_all_onesp): Always return true if all bits on. * 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> 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> 2005-12-06 Andreas Schwab <schwab@suse.de>
......
...@@ -2776,14 +2776,25 @@ GTFILES_FILES_FILES = @all_gtfiles_files_files@ ...@@ -2776,14 +2776,25 @@ GTFILES_FILES_FILES = @all_gtfiles_files_files@
GTFILES_LANG_DIR_NAMES = @subdirs@ GTFILES_LANG_DIR_NAMES = @subdirs@
GTFILES_SRCDIR = @srcdir@ 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-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-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-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-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-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-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-dbxout.h \
gt-c-pragma.h gtype-c.h gt-cfglayout.h \ gtype-c.h gt-cfglayout.h \
gt-tree-mudflap.h gt-tree-vect-generic.h \ gt-tree-mudflap.h gt-tree-vect-generic.h \
gt-tree-profile.h gt-tree-ssa-address.h \ gt-tree-profile.h gt-tree-ssa-address.h \
gt-tree-ssanames.h gt-tree-iterator.h gt-gimplify.h \ gt-tree-ssanames.h gt-tree-iterator.h gt-gimplify.h \
......
2005-12-07 Rafael vila de Espndola <rafael.espindola@gmail.com>
* Make-lang.in: Remove all dependencies on s-gtype.
2005-12-05 Richard Guenther <rguenther@suse.de> 2005-12-05 Richard Guenther <rguenther@suse.de>
* utils.c (convert): Use fold_convert where appropriate. * utils.c (convert): Use fold_convert where appropriate.
......
...@@ -298,7 +298,7 @@ gen-soccon: force ...@@ -298,7 +298,7 @@ gen-soccon: force
LIBGNAT_OBJS=gen-soccon \ LIBGNAT_OBJS=gen-soccon \
gnatlib gnatlib
gt-ada-decl.h gt-ada-trans.h gt-ada-utils.h gtype-ada.h : s-gtype ; @true
# Build hooks: # Build hooks:
......
2005-12-07 Rafael vila de Espndola <rafael.espindola@gmail.com>
* Make-lang.in: Remove all dependencies on s-gtype.
2005-12-06 Aldy Hernandez <aldyh@redhat.com> 2005-12-06 Aldy Hernandez <aldyh@redhat.com>
PR C++/24138 PR C++/24138
......
...@@ -109,11 +109,6 @@ $(srcdir)/cp/cfns.h: $(srcdir)/cp/cfns.gperf ...@@ -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 \ gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L ANSI-C \
$(srcdir)/cp/cfns.gperf > $(srcdir)/cp/cfns.h $(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: # Build hooks:
......
...@@ -429,16 +429,8 @@ generated header file should be included after everything else in the ...@@ -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 source file. Don't forget to mention this file as a dependency in the
@file{Makefile}! @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 @end enumerate
For language frontends, there is another file that needs to be included For language frontends, there is another file that needs to be included
somewhere. It will be called @file{gtype-@var{lang}.h}, where somewhere. It will be called @file{gtype-@var{lang}.h}, where
@var{lang} is the name of the subdirectory the language is contained in. @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.
2005-12-07 Rafael vila de Espndola <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> 2005-12-30 Francois-Xavier Coudert <coudert@clipper.ens.fr>
PR fortran/25106 PR fortran/25106
......
...@@ -108,11 +108,7 @@ f951$(exeext): $(F95_OBJS) \ ...@@ -108,11 +108,7 @@ f951$(exeext): $(F95_OBJS) \
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \
$(F95_OBJS) $(BACKEND) $(F95_LIBS) $(F95_OBJS) $(BACKEND) $(F95_LIBS)
gt-fortran-f95-lang.h gtype-fortran.h : s-gtype; @true gt-fortran-trans.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
# #
# Build hooks: # Build hooks:
......
2005-12-07 Rafael vila de Espndola <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> 2005-12-07 Richard Sandiford <richard@codesourcery.com>
* class.c (build_utf8_ref, emit_register_classes): Use * class.c (build_utf8_ref, emit_register_classes): Use
......
...@@ -95,10 +95,7 @@ $(srcdir)/java/keyword.h: $(srcdir)/java/keyword.gperf ...@@ -95,10 +95,7 @@ $(srcdir)/java/keyword.h: $(srcdir)/java/keyword.gperf
exit 1; } ; \ exit 1; } ; \
mv -f k$$$$.h keyword.h) mv -f k$$$$.h keyword.h)
gt-java-class.h gt-java-constants.h gt-java-decl.h : s-gtype ; @true gt-java-parse.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
# Executables built by this Makefile: # Executables built by this Makefile:
JAVA_OBJS = java/parse.o java/class.o java/decl.o java/expr.o \ JAVA_OBJS = java/parse.o java/class.o java/decl.o java/expr.o \
......
2005-12-07 Rafael vila de Espndola <rafael.espindola@gmail.com>
* Make-lang.in: Remove all dependencies on s-gtype.
2005-12-02 Richard Guenther <rguenther@suse.de> 2005-12-02 Richard Guenther <rguenther@suse.de>
* objc-act.c (objc_build_exc_ptr, next_sjlj_build_enter_and_setjmp * objc-act.c (objc_build_exc_ptr, next_sjlj_build_enter_and_setjmp
......
...@@ -81,9 +81,6 @@ objc/objc-act.o : objc/objc-act.c \ ...@@ -81,9 +81,6 @@ objc/objc-act.o : objc/objc-act.c \
objc.srcextra: objc.srcextra:
gtype-objc.h : s-gtype ; @true
gt-objc-objc-act.h : s-gtype ; @true
# #
# Build hooks: # Build hooks:
......
2005-12-07 Rafael vila de Espndola <rafael.espindola@gmail.com>
* Make-lang.in: Remove all dependencies on s-gtype.
2005-11-22 Andrew Pinski <pinskia@physics.uc.edu> 2005-11-22 Andrew Pinski <pinskia@physics.uc.edu>
* objcp-decl.c (objcp_lookup_name): Remove. * objcp-decl.c (objcp_lookup_name): Remove.
......
...@@ -89,8 +89,6 @@ objcp/objcp-act.o : objc/objc-act.c \ ...@@ -89,8 +89,6 @@ objcp/objcp-act.o : objc/objc-act.c \
po-generated: po-generated:
gtype-objcp.h : s-gtype ; @true
# #
# Build hooks: # Build hooks:
......
2005-12-07 Rafael vila de Espndola <rafael.espindola@gmail.com>
* Make-lang.in: Remove all dependencies on s-gtype.
2005-12-05 Richard Guenther <rguenther@suse.de> 2005-12-05 Richard Guenther <rguenther@suse.de>
* treetree.c (tree_code_if_start, tree_code_create_variable, * treetree.c (tree_code_if_start, tree_code_create_variable,
......
...@@ -138,8 +138,6 @@ treelang/parse.c treelang/parse.h treelang/parse.output: treelang/parse.y ...@@ -138,8 +138,6 @@ treelang/parse.c treelang/parse.h treelang/parse.output: treelang/parse.y
# -v # -v
gt-treelang-tree1.h gtype-treelang.h : s-gtype; @true
# #
# Build hooks: # Build hooks:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment