(dbxout_type): Write non-default precision of of ENUMERAL_TYPEs.
authorPer Bothner <bothner@gcc.gnu.org>
Mon, 16 May 1994 22:23:11 +0000 (15:23 -0700)
committerPer Bothner <bothner@gcc.gnu.org>
Mon, 16 May 1994 22:23:11 +0000 (15:23 -0700)
From-SVN: r7315

gcc/dbxout.c

index 994cc3779f0f3e5b79e150be4e65d6b77cba6187..cecc8a480bc6051537d4eac5e94e8ba70939863c 100644 (file)
@@ -1298,6 +1298,9 @@ dbxout_type (type, full, show_arg_types)
 #ifdef DBX_OUTPUT_ENUM
       DBX_OUTPUT_ENUM (asmfile, type);
 #else
+      if (use_gnu_debug_info_extensions
+         && TYPE_PRECISION (type) != TYPE_PRECISION (integer_type_node))
+       fprintf (asmfile, "@s%d;", TYPE_PRECISION (type));
       putc ('e', asmfile);
       CHARS (1);
       for (tem = TYPE_VALUES (type); tem; tem = TREE_CHAIN (tem))