From: Rainer Orth Date: Mon, 30 Jun 2003 11:57:35 +0000 (+0000) Subject: c-pch.c (c_common_write_pch): Flush asm_out_file to allow for subsequent writes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d583dcbac4e14f8f2e344d289cf21d2d61c8412;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d5d0c50d795..e16edeff75e 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 22b7ccc3a1a..2dccecd506f 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);