gcc/gcc ChangeLog.tree-ssa c-decl.c gimplify.c ...

law@gcc.gnu.org law@gcc.gnu.org
Mon Mar 10 20:18:00 GMT 2003


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	tree-ssa-20020619-branch
Changes by:	law@gcc.gnu.org	2003-03-10 20:18:42

Modified files:
	gcc            : ChangeLog.tree-ssa c-decl.c gimplify.c 
	                 tree-inline.c tree.h 
	gcc/cp         : optimize.c ChangeLog.tree-ssa 

Log message:
	* c-decl.c (c_expand_body_1): Update comments relating to
	re-simplification after mudflap instrumentation.  Avoid
	unnecessary simplification of the function tree.
	* gimplify.c (keep_function_tree_in_gimple_form): New function.
	* tree-inline.c: Include tree-iterator.h and tree-simple.h
	(struct inline_data): Add new TSI field.
	(copy_body_r): Keep tree in gimple form when transforming a
	RETURN_EXPR into a MODIFY_EXPR and GOTO_EXPR.
	(initialize_inlined_parameters): Use MODIFY_EXPR, not INIT_EXPR
	for initialization of inlined parameters.
	(expand_call_inline): Save and restore the TSI around the
	call to expand_calls_inline.  Keep the tree in gimple form
	when replacing a CALL_EXPR with a BIND_EXPR for the inlined
	body.
	(expand_calls_inline): Revamp to provide the current TSI to
	expand_call_inline when we're working with gimple form.
	* Makefile.in (tree-inline.o): Update dependencies.
	* tree.h (keep_function_tree_in_gimple_form): Prototype.
	
	* cp/optimize.c (optimize_function): Avoid unnecessary
	simplification of the function tree.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.266&r2=1.1.2.267
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.334.2.39&r2=1.334.2.40
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.27&r2=1.1.2.28
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-inline.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.26.2.20&r2=1.26.2.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.342.2.51&r2=1.342.2.52
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/optimize.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.81.10.14&r2=1.81.10.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.19&r2=1.1.2.20



More information about the Gcc-cvs mailing list