Commit 2d583dcb by Rainer Orth Committed by Rainer Orth

c-pch.c (c_common_write_pch): Flush asm_out_file to allow for subsequent writes.

	* c-pch.c (c_common_write_pch): Flush asm_out_file to allow for
	subsequent writes.

From-SVN: r68696
parent cd16e04b
2003-06-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* c-pch.c (c_common_write_pch): Flush asm_out_file to allow for
subsequent writes.
Mon Jun 30 10:03:02 CEST 2003 Jan Hubicka <jh@suse.cz> Mon Jun 30 10:03:02 CEST 2003 Jan Hubicka <jh@suse.cz>
* cfgrtl.c (verify_flow_info): Accept degenerated condjumps * cfgrtl.c (verify_flow_info): Accept degenerated condjumps
......
...@@ -146,6 +146,8 @@ c_common_write_pch (void) ...@@ -146,6 +146,8 @@ c_common_write_pch (void)
written += size; written += size;
} }
free (buf); free (buf);
/* asm_out_file can be written afterwards, so must be flushed first. */
fflush (asm_out_file);
gt_pch_save (pch_outfile); gt_pch_save (pch_outfile);
cpp_write_pch_state (parse_in, pch_outfile); cpp_write_pch_state (parse_in, pch_outfile);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment