gcc/*: Deletion of unnecessary processing

Miura Yasuyuki kokosabu@gmail.com
Tue Sep 18 14:53:00 GMT 2007


Small correction.
I shortened initialization.

-- Yasuyuki

2007-09-18  Miura Yasuyuki  <kokosabu@gmail.com>

            * fond-const.c: Deletion of unnecessary processing.

Index: fold-const.c
===================================================================
--- fold-const.c        (revision 128577)
+++ fold-const.c        (working copy)
@@ -665,10 +665,8 @@

   memset (quo, 0, sizeof quo);

-  memset (num, 0, sizeof num); /* to zero 9th element */
-  memset (den, 0, sizeof den);
-
   encode (num, lnum, hnum);
+  num[4] = 0;  /* to zero 9th element */
   encode (den, lden, hden);

   /* Special code for when the divisor < BASE.  */



More information about the Gcc-patches mailing list