Commit 2cd66592 by Jeff Law Committed by Jeff Law

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
parent 5155feb3
2018-07-15 Jeff Law <law@redhat.com>
PR target/85993
* config/sh/sh.c (output_mi_thunk): Remove dead conditional
block.
2018-07-14 Jim Wilson <jimw@sifive.com> 2018-07-14 Jim Wilson <jimw@sifive.com>
* config/riscv/linux.h (TARGET_ASM_FILE_END): New. * config/riscv/linux.h (TARGET_ASM_FILE_END): New.
......
...@@ -10890,12 +10890,6 @@ sh_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, ...@@ -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))); emit_insn (gen_add2_insn (scratch0, GEN_INT (vcall_offset)));
offset_addr = scratch0; 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 else
gcc_unreachable (); /* FIXME */ gcc_unreachable (); /* FIXME */
emit_load_ptr (scratch0, offset_addr); emit_load_ptr (scratch0, offset_addr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment