diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-07-26 08:36:28 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-07-26 08:36:28 -0400 |
commit | dfda5a87b5432c74b6f5dde252a0d07c81314332 (patch) | |
tree | 566599dd911ad222b6c66f8a0a38d2528b937567 | |
parent | 04f42b07d52c170225f91ed5f0fdb10b4ed602ce (diff) | |
download | gcc-dfda5a87b5432c74b6f5dde252a0d07c81314332.zip gcc-dfda5a87b5432c74b6f5dde252a0d07c81314332.tar.gz gcc-dfda5a87b5432c74b6f5dde252a0d07c81314332.tar.bz2 |
(emit_nop): Do not emit a nop if there is a single insn before a label
or at the start of a function.
From-SVN: r10162
-rw-r--r-- | gcc/stmt.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -553,7 +553,8 @@ emit_nop () last_insn = get_last_insn (); if (!optimize && (GET_CODE (last_insn) == CODE_LABEL - || prev_real_insn (last_insn) == 0)) + || (GET_CODE (last_insn) == NOTE + && prev_real_insn (last_insn) == 0))) emit_insn (gen_nop ()); } } |