Blame SOURCES/gcc48-rh1469697-13.patch

56d343
	* config/i386/i386.c (ix86_expand_prologue): Tighten assert
56d343
	for int_registers_saved.
56d343
56d343
diff -rup a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
56d343
--- a/gcc/config/i386/i386.c	2017-11-03 10:39:24.585633524 -0600
56d343
+++ b/gcc/config/i386/i386.c	2017-11-03 10:41:10.654774032 -0600
56d343
@@ -10686,8 +10686,12 @@ ix86_expand_prologue (void)
56d343
       && (flag_stack_check == STATIC_BUILTIN_STACK_CHECK
56d343
 	  || flag_stack_clash_protection))
56d343
     {
56d343
-      /* We expect the registers to be saved when probes are used.  */
56d343
-      gcc_assert (int_registers_saved);
56d343
+      /* This assert wants to verify that integer registers were saved
56d343
+	 prior to probing.  This is necessary when probing may be implemented
56d343
+	 as a function call (Windows).  It is not necessary for stack clash
56d343
+	 protection probing.  */
56d343
+      if (!flag_stack_clash_protection)
56d343
+	gcc_assert (int_registers_saved);
56d343
 
56d343
       if (flag_stack_clash_protection)
56d343
 	{