summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-04 04:25:12 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-04 04:25:12 +0000
commit7563b9746b23978527eec45e608f3e4e0af56a39 (patch)
tree8a93bfe92233f753e44964d21404a0b4a09bc512 /gcc
parented63057bb553095d31967eb597a2dbe7af9c0273 (diff)
downloadgcc-7563b9746b23978527eec45e608f3e4e0af56a39.tar.gz
* ggc-zone.c (ggc_pch_write_object): Don't align file pointer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78882 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/ggc-zone.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8320b3ddf43..54c677288a5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/ggc-zone.c b/gcc/ggc-zone.c
index bc7a4cd899b..51fb1f938cf 100644
--- a/gcc/ggc-zone.c
+++ b/gcc/ggc-zone.c
@@ -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