diff mbox series

remove some unneeded parens

Message ID c52ce82e-cc3b-2990-a136-62eb3bb61143@acm.org
State New
Headers show
Series remove some unneeded parens | expand

Commit Message

Nathan Sidwell Oct. 4, 2017, 4:59 p.m. UTC
As described in 
https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00122.html, I found a few 
places where declarations were excessively parenthesized.  These seem to 
be the uncontroversial cases, so fixing thusly.

Applying to trunk.

nathan
diff mbox series

Patch

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.

Index: toplev.c
===================================================================
--- toplev.c	(revision 253418)
+++ toplev.c	(working copy)
@@ -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);
Index: caller-save.c
===================================================================
--- caller-save.c	(revision 253418)
+++ caller-save.c	(working copy)
@@ -1265,7 +1265,7 @@  insert_restore (struct insn_chain *chain
 
 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;