r142217 - in /branches/alias-improvements/gcc: ...

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Wed Nov 26 12:27:00 GMT 2008


Author: rguenth
Date: Wed Nov 26 12:27:33 2008
New Revision: 142217

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142217
Log:
2008-11-26  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/38180
	* tree-ssa-ccp.c (get_default_value): Simplify.
	(likely_value): Likewise.
	(surely_varying_stmt_p): Properly handle VOP case.
	(ccp_initialize): Likewise.
	(ccp_fold): Handle propagating through *&.
	(fold_const_aggregate_ref): Also handle decls.

	* gcc.dg/tree-ssa/ssa-ccp-24.c: New testcase.

Added:
    branches/alias-improvements/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-24.c
Modified:
    branches/alias-improvements/gcc/ChangeLog.alias
    branches/alias-improvements/gcc/tree-ssa-ccp.c



More information about the Gcc-cvs mailing list