From: Nathan Sidwell Date: Wed, 4 Oct 2017 17:58:28 +0000 (+0000) Subject: [PATCH] remove some unneeded parens X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a1440fa8fa510a74707843c2ae6104c2a99ff804;p=gcc.git [PATCH] remove some unneeded parens https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00200.html * toplev.c (toplev::main): Remove excess parens on pretty_printer decl. * caller-save.c (insert_save): Remove excess parens on TO_SAVE parm. From-SVN: r253427 --- 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 + + * 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 * 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);