OSDN Git Service

(dbxout_type): Write non-default precision of of ENUMERAL_TYPEs.
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 May 1994 22:23:11 +0000 (22:23 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 May 1994 22:23:11 +0000 (22:23 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7315 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/dbxout.c

index 994cc37..cecc8a4 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))