[PATCH 0/3] GCC 7: i386: Move struct ix86_frame to machine_function

H.J. Lu hjl.tools@gmail.com
Sun Jan 14 15:02:00 GMT 2018


This patch set makes ix86_frame available to i386 code generation.  They
are needed to backport the patch set of -mindirect-branch= to mitigate
variant #2 of the speculative execution vulnerabilities on x86 processors
identified by CVE-2017-5715, aka Spectre.

H.J. Lu (2):
  i386: Move struct ix86_frame to machine_function
  i386: More use reference of struct ix86_frame to avoid copy

hjl (1):
  i386: Use reference of struct ix86_frame to avoid copy

 gcc/config/i386/i386.c | 73 +++++++++-----------------------------------------
 gcc/config/i386/i386.h | 53 +++++++++++++++++++++++++++++++++++-
 2 files changed, 65 insertions(+), 61 deletions(-)

-- 
2.14.3



More information about the Gcc-patches mailing list