Commit b3ebe230 by Per Bothner

Temporaily change error to wanring to hopefully allow boostrap.

From-SVN: r45311
parent 8fa0a32e
...@@ -781,7 +781,7 @@ set_constant_value (field, constant) ...@@ -781,7 +781,7 @@ set_constant_value (field, constant)
&& ! (TREE_TYPE (constant) == int_type_node && ! (TREE_TYPE (constant) == int_type_node
&& INTEGRAL_TYPE_P (TREE_TYPE (field)) && INTEGRAL_TYPE_P (TREE_TYPE (field))
&& TYPE_PRECISION (TREE_TYPE (field)) <= 32)) && TYPE_PRECISION (TREE_TYPE (field)) <= 32))
error ("ConstantValue attribute of field '%s' has wrong type", warning ("ConstantValue attribute of field '%s' has wrong type",
IDENTIFIER_POINTER (DECL_NAME (field))); IDENTIFIER_POINTER (DECL_NAME (field)));
if (FIELD_FINAL (field)) if (FIELD_FINAL (field))
DECL_FIELD_FINAL_IUD (field) = 1; DECL_FIELD_FINAL_IUD (field) = 1;
......
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