From 9a9f6b526670214cb2b75a9e9d0117b4cdc075be Mon Sep 17 00:00:00 2001 From: Chao-ying Fu Date: Thu, 25 Oct 2007 01:02:35 +0000 Subject: [PATCH] dwarf2out.c (base_type_die): Use DW_ATE_unsigned_fixed or DW_ATE_signed_fixed to describe FIXED_POINT_TYPE. * dwarf2out.c (base_type_die): Use DW_ATE_unsigned_fixed or DW_ATE_signed_fixed to describe FIXED_POINT_TYPE. From-SVN: r129620 --- gcc/ChangeLog | 5 +++++ gcc/dwarf2out.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 154b72cbd3b..cd494ad778e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-10-24 Chao-ying Fu + + * dwarf2out.c (base_type_die): Use DW_ATE_unsigned_fixed or + DW_ATE_signed_fixed to describe FIXED_POINT_TYPE. + 2007-10-24 Samuel Tardieu Olga Golovanevsky diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 8a398e4d465..46e2b59dff1 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -8434,9 +8434,9 @@ base_type_die (tree type) case FIXED_POINT_TYPE: if (TYPE_UNSIGNED (type)) - encoding = DW_ATE_signed_fixed; - else encoding = DW_ATE_unsigned_fixed; + else + encoding = DW_ATE_signed_fixed; break; /* Dwarf2 doesn't know anything about complex ints, so use -- 2.30.2