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
This commit is contained in:
Chao-ying Fu 2007-10-25 01:02:35 +00:00 committed by Chao-ying Fu
parent 7790f79410
commit 9a9f6b5266
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-10-24 Chao-ying Fu <fu@mips.com>
* 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 <sam@rfc1149.net>
Olga Golovanevsky <olga@il.ibm.com>

View File

@ -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