From: Segher Boessenkool Date: Thu, 24 Sep 2015 12:43:43 +0000 (+0200) Subject: rs6000: Fix -mdebug=stack code for spe_gp_offset X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f08e13f110744086fb7f2257f0e9bf0f8f820dfa;p=gcc.git rs6000: Fix -mdebug=stack code for spe_gp_offset 2015-09-23 Segher Boessenkool * config/rs6000/rs6000.c (debug_stack_info): Invert the test for info->spe_gp_size. From-SVN: r228086 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ed7224fa3a7..57ec1f6c271 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-09-24 Segher Boessenkool + + * config/rs6000/rs6000.c (debug_stack_info): Invert the test + for info->spe_gp_size. + 2015-09-24 Richard Biener PR lto/67699 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 5897ea82b8a..f8638f93de5 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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);