diff options
author | Kaz Kojima <kkojima@gcc.gnu.org> | 2004-09-01 00:28:30 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2004-09-01 00:28:30 +0000 |
commit | bee9efbcc7de4e690620684bfc1338bca6f2ce8f (patch) | |
tree | 83d32c32178e97a707be3a49f5818bbf52bf55eb /gcc/config/sh | |
parent | 8f3649a48cfc26b0d832423d20e6ecac572929ab (diff) | |
download | gcc-bee9efbcc7de4e690620684bfc1338bca6f2ce8f.zip gcc-bee9efbcc7de4e690620684bfc1338bca6f2ce8f.tar.gz gcc-bee9efbcc7de4e690620684bfc1338bca6f2ce8f.tar.bz2 |
sh.c (output_branch): Check the insn length possibly in the delayed slot.
* config/sh/sh.c (output_branch): Check the insn length possibly
in the delayed slot.
From-SVN: r86858
Diffstat (limited to 'gcc/config/sh')
-rw-r--r-- | gcc/config/sh/sh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 31104e5..087bb7f 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -1379,7 +1379,8 @@ output_branch (int logic, rtx insn, rtx *operands) place for it is after the label. final will do that by default. */ if (final_sequence - && ! INSN_ANNULLED_BRANCH_P (XVECEXP (final_sequence, 0, 0))) + && ! INSN_ANNULLED_BRANCH_P (XVECEXP (final_sequence, 0, 0)) + && get_attr_length (XVECEXP (final_sequence, 0, 1))) { asm_fprintf (asm_out_file, "\tb%s%ss\t%LLF%d\n", logic ? "f" : "t", ASSEMBLER_DIALECT ? "/" : ".", label); |