Re: [PATCH] Fix PR48467

2011-04-08 Thread Diego Novillo
On Wed, Apr 6, 2011 at 11:47, Richard Guenther wrote: > 2011-04-06  Richard Guenther   > >        PR lto/48467 >        * toplev.c (lang_dependent_init): Do not open asm_out_file >        in WPA mode, nor perform debug machinery initialization. >        (finalize): Do not unlink asm_out_file in W

[PATCH] Fix PR48467

2011-04-06 Thread Richard Guenther
This avoids unlinking the assembler output file at the end of WPA stage (we don't produce anything useful there) which eventually clobbers an assembler output from a previous stage. Instead simply don't open the file. That requires not performing debug init which we shouldn't need either here (m