r130068 - in /trunk/gcc: ChangeLog testsuite/Ch...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Sat Nov 10 07:46:00 GMT 2007


Author: jakub
Date: Sat Nov 10 07:46:31 2007
New Revision: 130068

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130068
Log:
	PR middle-end/34018
	* tree-inline.h (copy_body_data): Add regimplify field.
	* tree-inline.c (copy_body_r): Set id->regimplify to true
	if an TREE_INVARIANT ADDR_EXPR is no longer invariant after
	substitutions.
	(copy_bb): Clear id->regimplify before walk_tree, if it is
	set afterwards, regimplify the whole statement.

	* g++.dg/opt/inline14.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/opt/inline14.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-inline.c
    trunk/gcc/tree-inline.h



More information about the Gcc-cvs mailing list