aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>2018-01-03 14:25:10 -0700
committerJeff Law <law@gcc.gnu.org>2018-01-03 14:25:10 -0700
commit4bfb8e1143f4626e12df348a1bde34030c0fb2e7 (patch)
treeb9a574fdad7d1e20dfd6905d89379d0a719e9370 /gcc/cse.c
parente3bd17639b20e009238b15b2354bb0e87e29703e (diff)
downloadgcc-4bfb8e1143f4626e12df348a1bde34030c0fb2e7.zip
gcc-4bfb8e1143f4626e12df348a1bde34030c0fb2e7.tar.gz
gcc-4bfb8e1143f4626e12df348a1bde34030c0fb2e7.tar.bz2
re PR target/83641 (-fstack-clash-protection generates incorrect CFI on i386)
PR target/83641 * config/i386/i386.c (ix86_adjust_stack_and_probe_stack_clash): For noreturn probe, use gen_pop instead of ix86_emit_restore_reg_using_pop, only set RTX_FRAME_RELATED_P on both the push and pop if cfa_reg is sp and add REG_CFA_ADJUST_CFA notes in that case to both insns. PR target/83641 * config/i386/i386.c (ix86_adjust_stack_and_probe_stack_clash): Do not explicitly probe *sp in a noreturn function if there were any callee register saves or frame pointer is needed. PR target/83641 * gcc.target/i386/stack-check-17.c: New test. * gcc.target/i386/stack-check-12.c: Drop unnecessary asm. From-SVN: r256191
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions