summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-14 22:14:31 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-14 22:14:31 +0000
commitba952bbf8148d262e8ef2f13dc679461fe937912 (patch)
treebd4a663fd4c2526fd717b911a1e1e7dec2a9f23e
parentae6c5f02a461e3dc0877d607e6a3da49a20039fd (diff)
downloadgcc-ba952bbf8148d262e8ef2f13dc679461fe937912.tar.gz
* toplev.c (compile_function): Unconditionally emit nop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29412 138bc75d-0d04-0410-961f-82ee72b054a4
-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