https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615
--- Comment #32 from Surya Kumari Jangala <jskumari at gcc dot gnu.org> --- Yes, it is right that for call insn, first_call_insn is same as curr_insn and hence before_p is honoured. And for jmp insn, it is ok to move the save insn after the jmp. My bad that I missed these nuances.