rs6000: Fix -mdebug=stack code for spe_gp_offset
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 24 Sep 2015 12:43:43 +0000 (14:43 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 24 Sep 2015 12:43:43 +0000 (14:43 +0200)
2015-09-23  Segher Boessenkool  <segher@kernel.crashing.org>

* config/rs6000/rs6000.c (debug_stack_info): Invert the test
for info->spe_gp_size.

From-SVN: r228086

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index ed7224fa3a74bd77b4f40fca0b5afb11d1a969e1..57ec1f6c2715a9072e5ebed50369f50b2eed74cd 100644 (file)
@@ -1,3 +1,8 @@
+2015-09-24  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * config/rs6000/rs6000.c (debug_stack_info): Invert the test
+       for info->spe_gp_size.
+
 2015-09-24  Richard Biener  <rguenther@suse.de>
 
        PR lto/67699
index 5897ea82b8a7e7d8e947bf1e2bc03e7ac1896fd2..f8638f93de5f19bd69451fca47521e63aee15d79 100644 (file)
@@ -22703,7 +22703,7 @@ debug_stack_info (rs6000_stack_t *info)
     fprintf (stderr, "\taltivec_save_offset = %5d\n",
             info->altivec_save_offset);
 
-  if (info->spe_gp_size == 0)
+  if (info->spe_gp_size)
     fprintf (stderr, "\tspe_gp_save_offset  = %5d\n",
             info->spe_gp_save_offset);