This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[fixed-point] Patch to fix count_type_elements() for FIXED_POINT_TYPE


Hi,

  This patch fixed a bug in expr.c to handle FIXED_POINT_TYPE in
this function: "count_type_elements ()".  Thanks!

Regards,
Chao-ying

gcc/ChangeLog
2007-03-07  Chao-ying Fu  <fu@mips.com>

        * expr.c (count_type_elements): Handle the case of FIXED_POINT_TYPE.

Index: expr.c
===================================================================
--- expr.c      (revision 122629)
+++ expr.c      (working copy)
@@ -4816,6 +4816,7 @@

     case INTEGER_TYPE:
     case REAL_TYPE:
+    case FIXED_POINT_TYPE:
     case ENUMERAL_TYPE:
     case BOOLEAN_TYPE:
     case POINTER_TYPE:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]