These 2 patches resolve confilct between zcmp multi push/pop and shrink-wrap-separate.
As per Kito's review comment https://www.mail-archive.com/gcc-patches@gcc.gnu.org/msg310564.html, I split the orginal patch into two parts: RISC-V part and the rest part (shrink-wrap.h / shrink-wrap.cc). Fei Gao (2): allow target to check shrink-wrap-separate enabled or not [RISC-V] resolve confilct between zcmp multi push/pop and shrink-wrap-separate gcc/config/riscv/riscv.cc | 19 ++++++++++++++++--- gcc/shrink-wrap.cc | 25 +++++++++++++++++-------- gcc/shrink-wrap.h | 1 + 3 files changed, 34 insertions(+), 11 deletions(-) -- 2.17.1