Commit 77641ca3 by Nathan Froyd Committed by Nathan Froyd

re PR bootstrap/44825 (Failed to bootstrap)

	PR bootstrap/44825
	* class.c (make_class_data): Cast result of VEC_length calls to int.

From-SVN: r161856
parent 4ee89d5f
2010-07-05 Nathan Froyd <froydnj@codesourcery.com> 2010-07-05 Nathan Froyd <froydnj@codesourcery.com>
PR bootstrap/44825
* class.c (make_class_data): Cast result of VEC_length calls to int.
2010-07-05 Nathan Froyd <froydnj@codesourcery.com>
* constants.c (build_constants_constructor): Use build_constructor * constants.c (build_constants_constructor): Use build_constructor
instead of build_constructor_from_list. instead of build_constructor_from_list.
* class.c (make_method_value): Likewise. * class.c (make_method_value): Likewise.
......
...@@ -1921,9 +1921,9 @@ make_class_data (tree type) ...@@ -1921,9 +1921,9 @@ make_class_data (tree type)
} }
gcc_assert (static_field_count gcc_assert (static_field_count
== VEC_length (constructor_elt, static_fields)); == (int) VEC_length (constructor_elt, static_fields));
gcc_assert (instance_field_count gcc_assert (instance_field_count
== VEC_length (constructor_elt, instance_fields)); == (int) VEC_length (constructor_elt, instance_fields));
if (field_count > 0) if (field_count > 0)
{ {
......
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