diff options
author | Jeff Law <law@redhat.com> | 2018-07-15 14:28:15 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2018-07-15 14:28:15 -0600 |
commit | 2cd66592cd01340419625899f8b3e88f63ea07f9 (patch) | |
tree | 869fbcefa47a3ae377c9462c05b95d703078e8d8 /gcc/config/sh | |
parent | 5155feb3f80fdb3c4fcce8349707f14595037da2 (diff) | |
download | gcc-2cd66592cd01340419625899f8b3e88f63ea07f9.zip gcc-2cd66592cd01340419625899f8b3e88f63ea07f9.tar.gz gcc-2cd66592cd01340419625899f8b3e88f63ea07f9.tar.bz2 |
re PR target/85993 (config/sh/sh.c:10878: suspicious if .. else chain)
PR target/85993
* config/sh/sh.c (output_mi_thunk): Remove dead conditional
block.
From-SVN: r262671
Diffstat (limited to 'gcc/config/sh')
-rw-r--r-- | gcc/config/sh/sh.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index a1cad42..e58533c 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -10890,12 +10890,6 @@ sh_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, emit_insn (gen_add2_insn (scratch0, GEN_INT (vcall_offset))); offset_addr = scratch0; } - else if (scratch0 != scratch1) - { - emit_move_insn (scratch1, GEN_INT (vcall_offset)); - emit_insn (gen_add2_insn (scratch0, scratch1)); - offset_addr = scratch0; - } else gcc_unreachable (); /* FIXME */ emit_load_ptr (scratch0, offset_addr); |