Re: [RFA][PATCH] Fix assert on x86 target for -fstack-clash-protection

2017-11-03 Thread Uros Bizjak
>* config/i386/i386.c (ix86_expand_prologue): Tighten assert >for int_registers_saved. OK with a small comment addition. Thanks, Uros. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 2967872..ea29ef3 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/

[RFA][PATCH] Fix assert on x86 target for -fstack-clash-protection

2017-11-02 Thread Jeff Law
Internal testing within Red Hat tripped an assert in the x86 target. The assert wants to verify that the integer registers were saved prior to probing to deal with a special case where the probe turns into a call (which occurs on Windows IIUC). In the case of stack-clash we aren't bound by