Jumps are written in RTL as moves to PC. But the latter has no mode,
so we shouldn't try to use it. Since the optimization this routine
does does not really help for jumps at all, let's just skip it.
PR rtl-optimization/87720
* combine.c (make_more_copies): Skip if the dest is pc_rtx.
From-SVN: r265474
+2018-10-24 Segher Boessenkool <segher@kernel.crashing.org>
+
+ PR rtl-optimization/87720
+ * combine.c (make_more_copies): Skip if the dest is pc_rtx.
+
2018-10-24 Alexandre Oliva <aoliva@redhat.com>
* gimple-ssa-isolate-paths.c
continue;
rtx src = SET_SRC (set);
rtx dest = SET_DEST (set);
+ if (dest == pc_rtx)
+ continue;
if (GET_CODE (src) == SUBREG)
src = SUBREG_REG (src);
if (!(REG_P (src) && HARD_REGISTER_P (src)))