aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-03-14 08:14:17 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-03-14 08:14:17 -0500
commit0207ea829ba7dc8fefe3d7e308ad70c21d13eb44 (patch)
tree7c764b848868a3322a9f489733bc5403bdfe160d /gcc
parent66bd81d9d01077994a12a2fe113e061d067da55e (diff)
downloadgcc-0207ea829ba7dc8fefe3d7e308ad70c21d13eb44.zip
gcc-0207ea829ba7dc8fefe3d7e308ad70c21d13eb44.tar.gz
gcc-0207ea829ba7dc8fefe3d7e308ad70c21d13eb44.tar.bz2
(compile_file): Call bc_write_file here and pass asm_out_file, not stdout.
(main): Don't call bc_write_file here. Fix wording on error if -fbytecode specified on unsupported target. From-SVN: r6786
Diffstat (limited to 'gcc')
-rw-r--r--gcc/toplev.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index b21f0e3..77c1c39f 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -2392,6 +2392,9 @@ compile_file (name)
lang_finish ();
+ if (output_bytecode)
+ bc_write_file (asm_out_file);
+
/* Close the dump files. */
if (flag_gen_aux_info)
@@ -3746,7 +3749,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
{
#ifndef TARGET_SUPPORTS_BYTECODE
/* Just die with a fatal error if not supported */
- fatal ("-fbytecode can not be used for this target");
+ fatal ("-fbytecode not supporter for this target");
#else
bc_initialize ();
#endif
@@ -3830,9 +3833,6 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
compile_file (filename);
- if (output_bytecode)
- bc_write_file (stdout);
-
#ifndef OS2
#ifndef VMS
if (flag_print_mem)