diff options
| author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-11 22:00:23 +0000 |
|---|---|---|
| committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-11 22:00:23 +0000 |
| commit | beac175dbd509146449a90fa6fc0edf2f8183ec3 (patch) | |
| tree | 439cd3b853175377577db31a9546cdf85d70169f | |
| parent | 4187ae6d509663c12613e100bd045d74f936572b (diff) | |
| download | ppe42-gcc-beac175dbd509146449a90fa6fc0edf2f8183ec3.tar.gz ppe42-gcc-beac175dbd509146449a90fa6fc0edf2f8183ec3.zip | |
* toplev.c (compile_file): Move comment for opening output
file to just before the code that opens the output file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41975 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/toplev.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 04297a66b39..d5acce97fc1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/gcc/toplev.c b/gcc/toplev.c index 31e6387f117..bec26c16703 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -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); |

