summaryrefslogtreecommitdiff
path: root/gcc/ggc-zone.c
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/ggc-zone.c
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/ggc-zone.c')
-rw-r--r--gcc/ggc-zone.c3
1 files changed, 0 insertions, 3 deletions
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