Commit 74719742 by Vladimir Makarov Committed by Vladimir Makarov

genautomata.c (add_vect): Check undefined value for range type too.

2003-04-29  Vladimir Makarov  <vmakarov@redhat.com>

	* genautomata.c (add_vect): Check undefined value for range type
	too.

From-SVN: r66266
parent baade80b
2003-04-29 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c (add_vect): Check undefined value for range type
too.
2003-04-29 Phil Edwards <pme@gcc.gnu.org>
* configure.in: More general test for cmp --ignore-initial.
......
......@@ -7885,6 +7885,10 @@ add_vect (tab, vect_num, vect, vect_length)
tab->min_comb_vect_el_value = vect [vect_index];
check_vect_start [comb_vect_index + vect_index] = vect_num;
}
if (tab->max_comb_vect_el_value < undefined_vect_el_value)
tab->max_comb_vect_el_value = undefined_vect_el_value;
if (tab->min_comb_vect_el_value > undefined_vect_el_value)
tab->min_comb_vect_el_value = undefined_vect_el_value;
if (tab->max_base_vect_el_value < comb_vect_index)
tab->max_base_vect_el_value = comb_vect_index;
if (tab->min_base_vect_el_value > comb_vect_index)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment