diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/caller-save.c | 2 | ||||
-rw-r--r-- | gcc/toplev.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2046e349a80..b936292d7af 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-10-04 Nathan Sidwell <nathan@acm.org> + + * toplev.c (toplev::main): Remove excess parens on pretty_printer + decl. + * caller-save.c (insert_save): Remove excess parens on TO_SAVE parm. + 2017-10-04 Sudakshina Das <sudi.das@arm.com> * config/aarch64/aarch64-protos.h (enum simd_immediate_check): New diff --git a/gcc/caller-save.c b/gcc/caller-save.c index 6e4ffc173d5..3ea8e29a09d 100644 --- a/gcc/caller-save.c +++ b/gcc/caller-save.c @@ -1265,7 +1265,7 @@ insert_restore (struct insn_chain *chain, int before_p, int regno, static int insert_save (struct insn_chain *chain, int before_p, int regno, - HARD_REG_SET (*to_save), machine_mode *save_mode) + HARD_REG_SET *to_save, machine_mode *save_mode) { int i; unsigned int k; diff --git a/gcc/toplev.c b/gcc/toplev.c index bee79d313b2..ac9d2fc18bb 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -2186,7 +2186,7 @@ toplev::main (int argc, char **argv) { gcc_assert (global_dc->edit_context_ptr); - pretty_printer (pp); + pretty_printer pp; pp_show_color (&pp) = pp_show_color (global_dc->printer); global_dc->edit_context_ptr->print_diff (&pp, true); pp_flush (&pp); |