Re: [patch] Make asm_out_file a text write-only file again

2012-07-14 Thread Ian Lance Taylor
On Fri, Jul 13, 2012 at 12:30 PM, Steven Bosscher wrote: > > gcc/ > * toplev.c (init_asm_output): Open asm_out_file in 'w' mode. > > c-family/ > * c-pch.c (CHECK_NO_ASM_OUT_DURING_PCH): Do not define. > Remove code conditional on it. This is OK. Thanks. Ian

[patch] Make asm_out_file a text write-only file again

2012-07-13 Thread Steven Bosscher
Hello, Geoff had to make asm_out_file read-write for PCH [1], because at the time it was necessary to read back anything written to asm_out_file and store it in the PCH. This didn't work on mingw32 so Danny Smith made the file binary [2] with the b modifier (but according to 'man fopen', only for