Commit 37ff4d28 by Jeffrey A Law Committed by Jeff Law

toplev.c (compile_file): Move comment for opening output file to just before the…

toplev.c (compile_file): Move comment for opening output file to just before the code that opens the...

       * toplev.c (compile_file): Move comment for opening output
        file to just before the code that opens the output file.

From-SVN: r41975
parent 3721581a
Fri May 11 15:50:13 2001 Jeffrey A Law (law@cygnus.com)
* toplev.c (compile_file): Move comment for opening output
file to just before the code that opens the output file.
2001-05-11 Jakub Jelinek <jakub@redhat.com>
* regmove.c (regmove_optimize): Suppress the optimization for
......
......@@ -2149,6 +2149,10 @@ compile_file (name)
init_timevar ();
timevar_start (TV_TOTAL);
/* Open assembler code output file. Do this even if -fsyntax-only is on,
because then the driver will have provided the name of a temporary
file or bit bucket for us. */
if (! name_specified && asm_file_name == 0)
asm_out_file = stdout;
else
......@@ -2210,10 +2214,6 @@ compile_file (name)
fatal_io_error ("can't open %s", aux_info_file_name);
}
/* Open assembler code output file. Do this even if -fsyntax-only is on,
because then the driver will have provided the name of a temporary
file or bit bucket for us. */
#ifdef IO_BUFFER_SIZE
setvbuf (asm_out_file, (char *) xmalloc (IO_BUFFER_SIZE),
_IOFBF, IO_BUFFER_SIZE);
......
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