* ggc-zone.c (ggc_pch_write_object): Don't align file pointer.

From-SVN: r78882
This commit is contained in:
Ian Lance Taylor 2004-03-04 04:25:12 +00:00 committed by Ian Lance Taylor
parent 3ae3b78cf0
commit ebe29bbfec
2 changed files with 4 additions and 3 deletions

View 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.

View 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