powerpcspe.c (rs6000_expand_prologue): Fix thinko in stack clash protection support.
authorJeff Law <law@redhat.com>
Wed, 20 Sep 2017 22:06:11 +0000 (16:06 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 20 Sep 2017 22:06:11 +0000 (16:06 -0600)
* config/powerpcspe/powerpcspe.c (rs6000_expand_prologue): Fix
thinko in stack clash protection support.

From-SVN: r253036

gcc/ChangeLog
gcc/config/powerpcspe/powerpcspe.c

index 9f0c821fc65e1eb766eddc1cdaa5d2b73f1f0940..588542c6eef20cc612e9e1ef89ece86066732be6 100644 (file)
@@ -1,5 +1,8 @@
 2017-09-20  Jeff Law  <law@redhat.com>
 
+       * config/powerpcspe/powerpcspe.c (rs6000_expand_prologue): Fix
+       thinko in stack clash protection support.
+
        * explow.c (compute_stack_clash_protection_loop_data): Use
        CONST_INT_P instead of explicit test.  Verify object is a
        CONST_INT_P before looking at INTVAL.
index e235d3c6a82392d0371522a477588b75e0ca2503..c7ccda10f7bf5d7c1d9c8de5423ca3fca5c89212 100644 (file)
@@ -29688,7 +29688,7 @@ rs6000_emit_prologue (void)
     current_function_static_stack_size = info->total_size;
 
   if (flag_stack_check == STATIC_BUILTIN_STACK_CHECK
-      || flag_stack_check_protection)
+      || flag_stack_clash_protection)
     {
       HOST_WIDE_INT size = info->total_size;