diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-05-16 22:23:11 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-05-16 22:23:11 +0000 |
commit | 1b99826f196e97da651f0df2c4710d481d6da5c6 (patch) | |
tree | 5a5a88e4bc9c017592d47baed6b1cae7be7ff283 /gcc/dbxout.c | |
parent | 5680986514bfa366180a8f38d223699d891bdebb (diff) | |
download | gcc-1b99826f196e97da651f0df2c4710d481d6da5c6.tar.gz |
(dbxout_type): Write non-default precision of of ENUMERAL_TYPEs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7315 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-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 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)) |