[PATCH][x86][2/3]: Add -mzero-caller-saved-regs=[skip|used-gpr|all-gpr|used|all]
Qing Zhao
QING.ZHAO@ORACLE.COM
Fri Apr 17 17:31:48 GMT 2020
Hi,
This is the 2nd patch of the total 3 patches set for providing the new feature -mzero-caller-saved-regs for linux kernel security improvement.
This patch is for resolving the new regressions triggered by the first patch.
This patch is to Add ix86_any_return_p to check simple_return in a PARALLEL to support:
(jump_insn 39 38 40 5 (parallel [
(simple_return)
(unspec [
(const_int 0 [0])
] UNSPEC_SIMPLE_RETURN)
]) "/tmp/x.c":105 -1
(nil)
-> simple_return)
Any comments?
Qing
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-x86-Add-ix86_any_return_p.patch
Type: application/octet-stream
Size: 4305 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200417/00f66d6f/attachment.obj>
More information about the Gcc-patches
mailing list