aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-write.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/jcf-write.c')
-rw-r--r--gcc/java/jcf-write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/jcf-write.c b/gcc/java/jcf-write.c
index 583cff9..a18f062 100644
--- a/gcc/java/jcf-write.c
+++ b/gcc/java/jcf-write.c
@@ -3103,11 +3103,11 @@ generate_classfile (tree clas, struct jcf_partial *state)
i++;
if (clas == object_type_node)
i++;
- PUT2 (i); /* attributes_count */
-
if (CLASS_DEPRECATED (TYPE_NAME (clas)))
i++;
+ PUT2 (i); /* attributes_count */
+
/* generate the SourceFile attribute. */
if (SourceFile_node == NULL_TREE)
{