From: Per Bothner Date: Mon, 16 May 1994 22:23:11 +0000 (-0700) Subject: (dbxout_type): Write non-default precision of of ENUMERAL_TYPEs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71b54b530217a202c37055be1b56858569ea3330;p=gcc.git (dbxout_type): Write non-default precision of of ENUMERAL_TYPEs. From-SVN: r7315 --- diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 994cc3779f0..cecc8a480bc 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -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))