diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2015-09-24 14:43:43 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2015-09-24 14:43:43 +0200 |
commit | f08e13f110744086fb7f2257f0e9bf0f8f820dfa (patch) | |
tree | cb800c6bf7a2aa0fff995d5ce016753ce128ef53 /gcc | |
parent | 760e1bb7e2d0dd045c8aac2320fd073eebe9e93d (diff) | |
download | gcc-f08e13f110744086fb7f2257f0e9bf0f8f820dfa.zip gcc-f08e13f110744086fb7f2257f0e9bf0f8f820dfa.tar.gz gcc-f08e13f110744086fb7f2257f0e9bf0f8f820dfa.tar.bz2 |
rs6000: Fix -mdebug=stack code for spe_gp_offset
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ed7224f..57ec1f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 5897ea8..f8638f9 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); |