aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/class.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2005-04-07 12:12:53 -0700
committerPer Bothner <bothner@gcc.gnu.org>2005-04-07 12:12:53 -0700
commite87047c6afe371b4a390d7cbfa7478da4470e511 (patch)
tree86373b6e246d1940af8969d1ebcadc89128f8e7d /gcc/java/class.c
parentad9945b50ec36f020b8414555622d815977a08da (diff)
downloadgcc-e87047c6afe371b4a390d7cbfa7478da4470e511.zip
gcc-e87047c6afe371b4a390d7cbfa7478da4470e511.tar.gz
gcc-e87047c6afe371b4a390d7cbfa7478da4470e511.tar.bz2
class.c (push_class): By default, suppress debug output.
* class.c (push_class): By default, suppress debug output. (finish_class): Enable debug output for classes we're emitting. From-SVN: r97797
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r--gcc/java/class.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c
index 1c7c3ab..81ba75d 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -423,6 +423,7 @@ push_class (tree class_type, tree class_name)
#endif
CLASS_P (class_type) = 1;
decl = build_decl (TYPE_DECL, class_name, class_type);
+ TYPE_DECL_SUPPRESS_DEBUG (decl) = 1;
/* dbxout needs a DECL_SIZE if in gstabs mode */
DECL_SIZE (decl) = integer_zero_node;
@@ -1906,6 +1907,7 @@ finish_class (void)
java_expand_catch_classes (current_class);
current_function_decl = NULL_TREE;
+ TYPE_DECL_SUPPRESS_DEBUG (TYPE_NAME (current_class)) = 0;
make_class_data (current_class);
register_class ();
rest_of_decl_compilation (TYPE_NAME (current_class), 1, 0);