]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* ggc-zone.c (ggc_pch_write_object): Don't align file pointer.
authorIan Lance Taylor <ian@wasabisystems.com>
Thu, 4 Mar 2004 04:25:12 +0000 (04:25 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 4 Mar 2004 04:25:12 +0000 (04:25 +0000)
From-SVN: r78882

gcc/ChangeLog
gcc/ggc-zone.c

index 8320b3ddf43e2c7910e892d1100b029185574b98..54c677288a514ee6b96495523afe6387991a6e08 100644 (file)
@@ -1,3 +1,7 @@
+2004-03-03  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * ggc-zone.c (ggc_pch_write_object): Don't align file pointer.
+
 2004-03-04  Alan Modra  <amodra@bigpond.net.au>
 
        * target-def.h (TARGET_OPTF): Delete.
index bc7a4cd899b91efcacf0050e8835a4d0971fd874..51fb1f938cf48f07339c6e4e4cc5522439afca4a 100644 (file)
@@ -1386,9 +1386,6 @@ ggc_pch_write_object (struct ggc_pch_data *d ATTRIBUTE_UNUSED,
         fatal_error ("can't write PCH file: %m");
        d->written += size;
      }
-  if (d->written == d->d.total
-      && fseek (f, ROUND_UP_VALUE (d->d.total, G.pagesize), SEEK_CUR) != 0)
-    fatal_error ("can't write PCH file: %m");
 }
 
 void