Temporaily change error to wanring to hopefully allow boostrap.
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Aug 2001 06:44:22 +0000 (06:44 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Aug 2001 06:44:22 +0000 (06:44 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45311 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/java/class.c

index eb4be8e..9aa5366 100644 (file)
@@ -781,7 +781,7 @@ set_constant_value (field, constant)
          && ! (TREE_TYPE (constant) == int_type_node
                && INTEGRAL_TYPE_P (TREE_TYPE (field))
                && 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)));
       if (FIELD_FINAL (field))
        DECL_FIELD_FINAL_IUD (field) = 1;