summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-24 14:02:36 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-24 14:02:36 +0000
commit44923ba4e0bd04b7cfc98e02eb71d26df559d07c (patch)
tree067d9c483d573e9108a7d455d15e51819500fd9e
parent731c349227f79a146fce2f8f6f7de3415b74b8bc (diff)
downloadgcc-44923ba4e0bd04b7cfc98e02eb71d26df559d07c.tar.gz
2014-11-24 Richard Biener <rguenther@suse.de>
PR java/64004 * class.c (build_classdollar_field): Do not set TREE_READONLY. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218018 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/class.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 961fc3abc51..bdc38329f24 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-24 Richard Biener <rguenther@suse.de>
+
+ PR java/64004
+ * class.c (build_classdollar_field): Do not set TREE_READONLY.
+
2014-11-19 David Malcolm <dmalcolm@redhat.com>
Merger of git branch "gimple-classes-v2-option-3".
diff --git a/gcc/java/class.c b/gcc/java/class.c
index 7597af75d63..d25a3cf5d1e 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -1085,7 +1085,6 @@ build_classdollar_field (tree type)
TYPE_QUAL_CONST)));
TREE_STATIC (decl) = 1;
TREE_CONSTANT (decl) = 1;
- TREE_READONLY (decl) = 1;
TREE_PUBLIC (decl) = 1;
java_hide_decl (decl);
DECL_IGNORED_P (decl) = 1;