Blame SOURCES/gcc48-rh1469697-13.patch

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