Go to file
Mark Mitchell 46e8c075d0 Make-lang.in (CXX_SRCS): Add optimize.c.
1999-11-25  Mark Mitchell  <mark@codesourcery.com>

	* Make-lang.in (CXX_SRCS): Add optimize.c.
	* Makefile.in (CXX_OBJS): Add optimize.o.
	(CXX_TREE_H): Add splay-tree.h, system.h, and $(CONFIG_H).
	(spew.o, lex.o, decl.o, decl2.o, typeck2.o, typeck.o): Adjust.
	(class.o, call.o, friend.o, init.o, method.o, cvt.o): Likewise.
	(search.o, tree.o, ptree.o, rtti.o, except.o, expr.o): Likewise.
	(xref.o, pt.o, error.o, errfn.o, repo.o, semantics.o): Likewise.
	(dump.o): Likewise.
	(optimize.o): New target.
	* class.c: Don't include splay-tree.h.
	* cp-tree.def (CTOR_COMPLETE): Rename to CTOR_STMT.
	* cp-tree.h: Include splay-tree.h.
	(DECL_UNINLINABLE): New macro.
	(CTOR_BEGIN_P, CTOR_END_P): New macros.
	(flag_inline_trees): New variable.
	(local_variable_p): New function.
	(nonstatic_local_decl_p): Likewise.
	(optimize_function): Likewise.
	(cplus_unsave_expr_now): Remove.
	(copy_tree_r): Declare.
	(remap_save_expr): Likewise.
	* decl.c (local_variable_p): Don't
	make it static.
	(local_variable_p_walkfn): New function.
	(make_rtl_for_local_static): Remove code to try to avoid writing
	out static constants.
	(emit_local_var): Fix indentation.
	(nonstatic_local_decl_p): New function.
	(check_default_argument): Use local_variable_p_walkfn, not
	local_variable_p, when walking the tree.
	(start_function): Set the DECL_CONTEXT for automatically generated
	labels.
	(finish_constructor_body): Use CTOR_STMT to mark the end of a
	constructor.
	* decl2.c: Don't include splay-tree.h.
	(flag_inline_trees): Define.
	* dump.c: Don't include
	splay-tree.h.
	* except.c (expand_end_catch_block): Fix comment formatting.
	(expand_end_eh_spec): Set DECL_CONTEXT on temporary variables.
	(expand_throw): Tidy comment.
	* init.c (build_vec_delete_1): Use create_temporary_var.
	* lex.c (cplus_tree_code_type): Make it static.
	(cplus_tree_code_length): Likewise.
	(cplus_tree_code_name): Likewise.
	* optimize.c: New file.
	* semantics.c (finish_goto_stmt): Set DECL_UNLINABLE for functions
	with computed gotos.
	(setup_vtbl_ptr): Mark the beginnings of constructors with
	CTOR_STMT.
	(expand_stmt): Handle CTOR_STMT, not CTOR_COMPLETE.
	(expand_body): Call optimize_function.  Save bodies if we're doing
	inlining on trees.
	* tree.c: Don't include splay-tree.h.  Include insn-config.h and
	integrate.h.
	(copy_tree_r): Make it public.
	(statement_code_p): New function.
	(mark_local_for_remap_r): Likewise.
	(cp_usave_r): Likewise.
	(cp_unsave): Likewise.
	(build_cplus_new): Set DECL_CONTEXT for temporary variables.
	(walk_tree): Walk into `s' class nodes.  Walk statement chains.
	(copy_tree_r): Handle 's' class nodes.  Restore chains for
	statements.  Nullify scopes.  Don't copy types.
	(init_tree): Set lang_unsave to cp_unsave.
	(remap_save_expr): Define.
	* ir.texi: Document CTOR_STMT.

From-SVN: r30669
1999-11-25 20:32:04 +00:00
boehm-gc Makefile.in: Rebuilt. 1999-11-04 19:39:50 +00:00
config * mh-openedition: New file. 1999-09-07 23:31:40 -07:00
contrib * newcvsroot: New file. 1999-10-11 07:07:39 +00:00
etc * configure.in: Use AC_PREREQ(2.12.1). 1998-11-23 13:51:40 +00:00
gcc Make-lang.in (CXX_SRCS): Add optimize.c. 1999-11-25 20:32:04 +00:00
include ansidecl.h: Define and test GCC_VERSION', not HAVE_GCC_VERSION'. 1999-11-10 17:57:21 +00:00
INSTALL More mail address and web address updates. 1999-08-09 00:48:10 -06:00
libchill Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au> 1999-10-27 01:14:18 -07:00
libf2c Daily bump. 1999-11-25 01:45:07 -07:00
libffi ffi.h.in: Removed PACKAGE and VERSION defines and undefs. 1999-09-01 23:16:34 +00:00
libiberty strtoul.c, [...]: Remove advertising clause from BSD license 1999-11-22 13:36:49 -05:00
libio * editbuf.cc, parsestream.cc, pfstream.cc: Include string.h. 1999-09-30 01:10:07 -06:00
libjava prims.cc (_Jv_NewObjectArray): Use _Jv_GetArrayElementFromElementType. 1999-11-25 00:36:51 +00:00
libobjc Fixed deallocation of a mutex in thr-single.c (patch from Chris Ball <cball@fmco.com>). 1999-09-29 00:37:49 +00:00
libstdc++ stl_rope.h: Fix initialization order. 1999-11-22 23:35:50 +00:00
texinfo dummy checkin to prevent merge lossage 1999-09-04 09:09:22 -06:00
zlib configure: Rebuilt. 1999-10-04 22:08:42 +00:00
.cvsignore * .cvsignore (*-install): Remove. 1997-09-04 09:49:02 -06:00
ChangeLog config-ml.in (sparc*-*-*): Disable sparcv9 support if the necessary libraries are missing. 1999-11-23 00:57:06 -07:00
config-ml.in config-ml.in (sparc*-*-*): Disable sparcv9 support if the necessary libraries are missing. 1999-11-23 00:57:06 -07:00
config.guess config.guess: Add OS/390 match pattern. 1999-09-07 23:35:42 -07:00
config.if config.if (cxx_interface, [...]): Do not try to set these if the appropriate directories and files to not exist. 1998-10-18 11:37:10 -06:00
config.sub Add FR30 target. 1999-09-21 15:17:53 +00:00
configure * configure: Fix quoting inside arguments of eval. 1999-10-25 23:47:42 -06:00
configure.in * configure.in (fr30): Fix typo. 1999-10-03 14:21:45 -06:00
COPYING Initial revision 1997-08-21 18:57:35 -04:00
COPYING.LIB Update address. 1998-02-23 14:57:23 -07:00
install-sh Final changes from devo<->egcs merge. 1998-10-12 04:44:57 -06:00
ltconfig * ltconfig, ltmain.sh: Update to libtool 1.2f. 1999-06-21 20:36:09 -06:00
ltmain.sh * ltconfig, ltmain.sh: Update to libtool 1.2f. 1999-06-21 20:36:09 -06:00
MAINTAINERS * MAINTAINERS: Add new 'write after approval' maintainer. 1999-11-19 13:23:48 -05:00
Makefile.in configure.in (target_libs): Added target-zlib. 1999-06-22 16:46:19 -06:00
missing missing: Update to version from automake 1.3. 1998-10-08 17:28:38 -06:00
mkinstalldirs Initial revision 1997-08-21 18:57:35 -04:00
move-if-change FSF address fix in copyright header. 1999-01-11 07:12:18 -07:00
README README: Remove installation instructions and refer to the INSTALL directory instead. 1998-10-02 09:22:08 +00:00
symlink-tree Initial revision 1997-08-21 18:57:35 -04:00
ylwrap ylwrap: Change absolute path checks to check for DOS style path names. 1998-10-08 17:26:54 -06:00

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.


Check the INSTALL directory for detailed configuration and installation
instructions.


Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.