From 2d583dcbac4e14f8f2e344d289cf21d2d61c8412 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Mon, 30 Jun 2003 11:57:35 +0000 Subject: 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 --- gcc/ChangeLog | 5 +++++ gcc/c-pch.c | 2 ++ 2 files changed, 7 insertions(+) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d5d0c50..e16edef 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-06-30 Rainer Orth + + * 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 * cfgrtl.c (verify_flow_info): Accept degenerated condjumps diff --git a/gcc/c-pch.c b/gcc/c-pch.c index 22b7ccc..2dccecd 100644 --- a/gcc/c-pch.c +++ b/gcc/c-pch.c @@ -146,6 +146,8 @@ c_common_write_pch (void) written += size; } free (buf); + /* asm_out_file can be written afterwards, so must be flushed first. */ + fflush (asm_out_file); gt_pch_save (pch_outfile); cpp_write_pch_state (parse_in, pch_outfile); -- cgit v1.1