diff options
Diffstat (limited to 'debian/patches/pr65618.diff')
-rw-r--r-- | debian/patches/pr65618.diff | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/pr65618.diff b/debian/patches/pr65618.diff new file mode 100644 index 0000000..2ec703c --- /dev/null +++ b/debian/patches/pr65618.diff @@ -0,0 +1,16 @@ +# DP: Proposed patch for PR rtl-optimization/65618 + +--- a/src/gcc/emit-rtl.c ++++ a/src/gcc/emit-rtl.c +@@ -3742,6 +3742,11 @@ try_split (rtx pat, rtx_insn *trial, int last) + next = NEXT_INSN (next)) + if (NOTE_KIND (next) == NOTE_INSN_CALL_ARG_LOCATION) + { ++ /* Advance after to the next instruction if it is about to ++ be removed */ ++ if (after == next) ++ after = NEXT_INSN(after); ++ + remove_insn (next); + add_insn_after (next, insn, NULL); + break; |