diff options
Diffstat (limited to 'gcc/c-pch.c')
-rw-r--r-- | gcc/c-pch.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/c-pch.c b/gcc/c-pch.c index b4f70506e40..f79d4736721 100644 --- a/gcc/c-pch.c +++ b/gcc/c-pch.c @@ -208,8 +208,10 @@ c_common_write_pch (void) if (fseek (asm_out_file, 0, SEEK_END) != 0) fatal_error ("can%'t seek in %s: %m", asm_file_name); + pickle_in_section (); gt_pch_save (pch_outfile); cpp_write_pch_state (parse_in, pch_outfile); + unpickle_in_section (); if (fseek (pch_outfile, 0, SEEK_SET) != 0 || fwrite (get_ident (), IDENT_LENGTH, 1, pch_outfile) != 1) @@ -418,6 +420,7 @@ c_common_read_pch (cpp_reader *pfile, const char *name, cpp_prepare_state (pfile, &smd); gt_pch_restore (f); + unpickle_in_section (); if (cpp_read_state (pfile, name, f, smd) != 0) { |