diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1994-05-16 15:23:11 -0700 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1994-05-16 15:23:11 -0700 |
commit | 71b54b530217a202c37055be1b56858569ea3330 (patch) | |
tree | 5a5a88e4bc9c017592d47baed6b1cae7be7ff283 | |
parent | bc29e2ad034ea733563d45b26ad3f15e3ae74022 (diff) | |
download | gcc-71b54b530217a202c37055be1b56858569ea3330.zip gcc-71b54b530217a202c37055be1b56858569ea3330.tar.gz gcc-71b54b530217a202c37055be1b56858569ea3330.tar.bz2 |
(dbxout_type): Write non-default precision of of ENUMERAL_TYPEs.
From-SVN: r7315
-rw-r--r-- | gcc/dbxout.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 994cc37..cecc8a4 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)) |