r124321 - in /trunk/gcc: ChangeLog tree-vrp.c

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Tue May 1 09:32:00 GMT 2007


Author: rguenth
Date: Tue May  1 10:32:34 2007
New Revision: 124321

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124321
Log:
2007-05-01  Richard Guenther  <rguenther@suse.de>

	* tree-vrp.c (set_value_range): Do not allocate equiv bitmap
	if it is not about to be set.
	(get_value_range): Do not pre-allocate equiv bitmap.
	(update_value_range): No need to clear equiv field.
	(add_equivalence): Change prototype to get bitmap pointer.
	Allocate bitmap here if it is not already.
	(extract_range_from_assert): Do not allocate bitmap here.
	Update callers to add_equivalence.
	(extract_range_from_ssa_name): Likewise.
	(get_vr_for_comparison): New static helper.
	(compare_name_with_value): Handle NULL equiv bitmap by
	peeling the first iteration of the comparison loop.
	Use get_vr_for_comparison.
	(compare_names): Handle NULL equiv bitmaps by using fake
	ones.  Use get_vr_for_comparison.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-vrp.c



More information about the Gcc-cvs mailing list