[PATCH 2/2] analyzer: avoid use of fold_build2

Jakub Jelinek jakub@redhat.com
Fri Jan 31 10:57:00 GMT 2020


On Thu, Jan 30, 2020 at 08:19:18PM -0500, David Malcolm wrote:
> gcc/analyzer/ChangeLog:
> 	* constraint-manager.cc (range::constrained_to_single_element):
> 	Replace fold_build2 with fold_binary.  Remove unnecessary newline.
> 	(constraint_manager::get_or_add_equiv_class): Replace fold_build2
> 	with fold_binary in two places, and remove out-of-date comment.
> 	(constraint_manager::eval_condition): Replace fold_build2 with
> 	fold_binary.
> 	* region-model.cc (constant_svalue::eval_condition): Likewise.
> 	(region_model::on_assignment): Likewise.

LGTM.

	Jakub



More information about the Gcc-patches mailing list