summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/toplev.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 336aaa80e97..cdf1ee5ea11 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
+
+ * toplev.c (compile_function): Unconditionally emit nop.
+
Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* haifa-sched.c (actual_hazard): Move declaration of variable
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 0be8824e753..a9e3e6070fd 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -3171,10 +3171,7 @@ compile_file (name)
{
/* It's best if we can write a nop here since some
assemblers don't tolerate zeros in the text section. */
- if (insn_data[CODE_FOR_nop].template != 0)
- output_asm_insn (get_insn_template (CODE_FOR_nop, NULL), NULL_PTR);
- else
- assemble_zeros (UNITS_PER_WORD);
+ output_asm_insn (get_insn_template (CODE_FOR_nop, NULL), NULL_PTR);
}
/* If dbx symbol table desired, initialize writing it