re PR java/64044 (Java emits bogus .class$ decls)
authorRichard Biener <rguenther@suse.de>
Mon, 24 Nov 2014 14:02:36 +0000 (14:02 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 24 Nov 2014 14:02:36 +0000 (14:02 +0000)
2014-11-24  Richard Biener  <rguenther@suse.de>

PR java/64004
* class.c (build_classdollar_field): Do not set TREE_READONLY.

From-SVN: r218018

gcc/java/ChangeLog
gcc/java/class.c

index 961fc3abc519ad69aa926098333f861c4c0bba6a..bdc38329f240ad0b082e42b7bf96c203dcdcf87f 100644 (file)
@@ -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".
index 7597af75d63cf3f13dc7d7eb0a949ddb21b8cb56..d25a3cf5d1e1ee2db2537e3a6dad6d29d646bab2 100644 (file)
@@ -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;