r133632 - in /trunk/gcc: ChangeLog fold-const.c...

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Thu Mar 27 09:17:00 GMT 2008


Author: rguenth
Date: Thu Mar 27 09:17:43 2008
New Revision: 133632

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

	* fold-const.c (target.h): Include.
	(fold_comparison): Fold comparison of addresses of decls
	that bind locally or of constants.  Consolidate address folding code.
	* tree-vrp.c (operand_less_p): Deal with non-INTEGER_CST
	results from fold_binary_to_constant.
	(compare_values_warnv): Likewise.

	* gcc.dg/fold-addr-1.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/fold-addr-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vrp.c



More information about the Gcc-cvs mailing list