projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fa0a32
)
Temporaily change error to wanring to hopefully allow boostrap.
author
Per Bothner
<bothner@gcc.gnu.org>
Fri, 31 Aug 2001 06:44:22 +0000
(23:44 -0700)
committer
Per Bothner
<bothner@gcc.gnu.org>
Fri, 31 Aug 2001 06:44:22 +0000
(23:44 -0700)
From-SVN: r45311
gcc/java/class.c
patch
|
blob
|
history
diff --git
a/gcc/java/class.c
b/gcc/java/class.c
index eb4be8e96d32c972e602073f46c7690fa057f320..9aa5366402891f8a684c74504298b1ed10b3f48e 100644
(file)
--- a/
gcc/java/class.c
+++ b/
gcc/java/class.c
@@
-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;