aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc-zone.c
diff options
context:
space:
mode:
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 bc7a4cd..51fb1f9 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