(dbxout_type): Write non-default precision of of ENUMERAL_TYPEs.

From-SVN: r7315
This commit is contained in:
Per Bothner 1994-05-16 15:23:11 -07:00
parent bc29e2ad03
commit 71b54b5302
1 changed files with 3 additions and 0 deletions

View 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))