c-cppbuiltin.c (builtin_define_with_value_n): Fix whitespace.
authorRoger Sayle <roger@eyesopen.com>
Sat, 15 Mar 2003 13:43:33 +0000 (13:43 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sat, 15 Mar 2003 13:43:33 +0000 (13:43 +0000)
* c-cppbuiltin.c (builtin_define_with_value_n): Fix whitespace.
* c-typeck.c (c_tree_expr_nonnegative_p): Likewise.
* cfgbuild.c (find_many_sub_basic_blocks): Likewise.
(find_sub_basic_blocks): Likewise.
* cgraphunit.c (cgraph_expand_functions): Likewise.
* dwarf2out.c (prune_unused_types): Likewise.
* expr.c (store_field): Likewise.
* genextract.c (print_path): Likewise.
* haifa-sched.c (schedule_insn): Likewise.
* lcm.c (compute_antinout_edge): Likewise.
* loop-unroll.c (decide_peel_once_rolling): Likewise.
* ra-colorize.c (ra_colorize_free_all): Likewise.
* ra-debug.c (dump_igraph): Likewise.
(debug_hard_reg_set): Likewise.
* reg-stack.c (reg_to_stack): Likewise.
* rtlanal.c (refers_to_regno_p): Likewise.
* tracer.c (layout_superblocks): Likewise.

* cp/tree.c (count_functions): Fix whitespace.

* f/ste.c (ffeste_R810): Fix whitespace.

From-SVN: r64402

20 files changed:
gcc/ChangeLog
gcc/c-cppbuiltin.c
gcc/c-typeck.c
gcc/cfgbuild.c
gcc/cgraphunit.c
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/dwarf2out.c
gcc/expr.c
gcc/f/ChangeLog
gcc/f/ste.c
gcc/genextract.c
gcc/haifa-sched.c
gcc/lcm.c
gcc/loop-unroll.c
gcc/ra-colorize.c
gcc/ra-debug.c
gcc/reg-stack.c
gcc/rtlanal.c
gcc/tracer.c

index 6f259302fb5daee6bfdf78209abec135fb671bff..732055712cc8fd429117865a7e32b513f666bcca 100644 (file)
@@ -1,3 +1,23 @@
+2003-03-15  Roger Sayle  <roger@eyesopen.com>
+
+       * c-cppbuiltin.c (builtin_define_with_value_n): Fix whitespace.
+       * c-typeck.c (c_tree_expr_nonnegative_p): Likewise.
+       * cfgbuild.c (find_many_sub_basic_blocks): Likewise.
+       (find_sub_basic_blocks): Likewise.
+       * cgraphunit.c (cgraph_expand_functions): Likewise.
+       * dwarf2out.c (prune_unused_types): Likewise.
+       * expr.c (store_field): Likewise.
+       * genextract.c (print_path): Likewise.
+       * haifa-sched.c (schedule_insn): Likewise.
+       * lcm.c (compute_antinout_edge): Likewise.
+       * loop-unroll.c (decide_peel_once_rolling): Likewise.
+       * ra-colorize.c (ra_colorize_free_all): Likewise.
+       * ra-debug.c (dump_igraph): Likewise.
+       (debug_hard_reg_set): Likewise.
+       * reg-stack.c (reg_to_stack): Likewise.
+       * rtlanal.c (refers_to_regno_p): Likewise.
+       * tracer.c (layout_superblocks): Likewise.
+
 2003-03-15  Neil Booth  <neil@daikokuya.co.uk>
 
        * fix-header.c (read_scan_file): Fix thinko.
index 060a7b17a30da9bef011071968d2a13ec926db4d..0a9f7d11751fda89d9f8f6c046d5c8471937f024 100644 (file)
@@ -480,7 +480,7 @@ builtin_define_with_value_n (macro, expansion, elen)
   /* Space for an = and a NUL.  */
   buf = alloca (mlen + elen + 2);
   memcpy (buf, macro, mlen);
-  buf[mlen]= '=';
+  buf[mlen] = '=';
   memcpy (buf + mlen + 1, expansion, elen);
   buf[mlen + elen + 1] = '\0';
 
index 52105ac84ecef8a6a705bc43bfeec65c5278e51e..0d52a7c9d94908c99c4a6177e14d35a0934aa8f1 100644 (file)
@@ -2599,13 +2599,13 @@ c_tree_expr_nonnegative_p (t)
 {
   if (TREE_CODE (t) == STMT_EXPR)
     {
-      t=COMPOUND_BODY (STMT_EXPR_STMT (t));
+      t = COMPOUND_BODY (STMT_EXPR_STMT (t));
 
       /* Find the last statement in the chain, ignoring the final
             * scope statement */
       while (TREE_CHAIN (t) != NULL_TREE 
              && TREE_CODE (TREE_CHAIN (t)) != SCOPE_STMT)
-        t=TREE_CHAIN (t);
+        t = TREE_CHAIN (t);
       return tree_expr_nonnegative_p (TREE_OPERAND (t, 0));
     }
   return tree_expr_nonnegative_p (t);
index d5d1b2009dbcae56d7c5c22886e01f10b81cc849..d698f3b057a2142d4ceccdf10541c43142618caf 100644 (file)
@@ -811,7 +811,7 @@ find_many_sub_basic_blocks (blocks)
        {
          bb->count = 0;
          bb->frequency = 0;
-         for (e = bb->pred; e; e=e->pred_next)
+         for (e = bb->pred; e; e = e->pred_next)
            {
              bb->count += e->count;
              bb->frequency += EDGE_FREQUENCY (e);
@@ -852,7 +852,7 @@ find_sub_basic_blocks (bb)
        {
          b->count = 0;
          b->frequency = 0;
-         for (e = b->pred; e; e=e->pred_next)
+         for (e = b->pred; e; e = e->pred_next)
            {
              b->count += e->count;
              b->frequency += EDGE_FREQUENCY (e);
index c01bba6b815e8d822bd46023f4387d8ba056ebb3..a1c20ee387b0eb15dfea604e20e0e89dea0923be 100644 (file)
@@ -342,7 +342,7 @@ cgraph_expand_functions ()
              }
          }
       }
-  for (i = order_pos - 1; i >=0; i--)
+  for (i = order_pos - 1; i >= 0; i--)
     {
       node = order[i];
       if (node->output)
index 1fec2a5d69068884fb5681b9a33c75b2320b209d..3caae567932eb319c218c0eddef29e57b2651763 100644 (file)
@@ -1,3 +1,7 @@
+2003-03-15  Roger Sayle  <roger@eyesopen.com>
+
+       * tree.c (count_functions): Fix whitespace.
+
 2003-03-15  Neil Booth  <neil@daikokuya.co.uk>
 
        * Make-lang.in: Update.
index 94fe9fbd903e2e013c8651b2bbeea5fddd9fd5d1..a5858bf2b4ab622ac0490efc21fd03c0692dec64 100644 (file)
@@ -1021,7 +1021,7 @@ count_functions (t)
     return 1;
   else if (TREE_CODE (t) == OVERLOAD)
     {
-      for (i=0; t; t = OVL_CHAIN (t))
+      for (i = 0; t; t = OVL_CHAIN (t))
        i++;
       return i;
     }
index 445f325fde63e4b3e190be963ba44f3da5ae5138..6a15a3b13f849104f78ce70a1fb8681f5524a3f2 100644 (file)
@@ -12941,14 +12941,10 @@ prune_unused_types ()
 
   /* Also set the mark on nodes referenced from the
      pubname_table or arange_table.  */
-  for (i=0; i < pubname_table_in_use; i++)
-    {
-      prune_unused_types_mark (pubname_table[i].die, 1);
-    }
-  for (i=0; i < arange_table_in_use; i++)
-    {
-      prune_unused_types_mark (arange_table[i], 1);
-    }
+  for (i = 0; i < pubname_table_in_use; i++)
+    prune_unused_types_mark (pubname_table[i].die, 1);
+  for (i = 0; i < arange_table_in_use; i++)
+    prune_unused_types_mark (arange_table[i], 1);
 
   /* Get rid of nodes that aren't marked.  */
   prune_unused_types_prune (comp_unit_die);
index e5d746234f99741acf59562360a48c213275f878..04479da94439993f41c40a1cc4c540d1e0ea7b64 100644 (file)
@@ -5503,7 +5503,7 @@ store_field (target, bitsize, bitpos, mode, exp, value_mode, unsignedp, type,
      side-effects.  */
   if (bitsize == 0)
     return expand_expr (exp, const0_rtx, VOIDmode, 0);
-  else if (bitsize >=0 && bitsize < HOST_BITS_PER_WIDE_INT)
+  else if (bitsize >= 0 && bitsize < HOST_BITS_PER_WIDE_INT)
     width_mask = ((HOST_WIDE_INT) 1 << bitsize) - 1;
 
   /* If we are storing into an unaligned field of an aligned union that is
index 151cf81c52bed9082b8d72cad3c799ada7fe1063..0166c195b745cf576cc6bdfdb8a07e409aeb7f86 100644 (file)
@@ -1,3 +1,7 @@
+2003-03-15  Roger Sayle  <roger@eyesopen.com>
+
+       * f/ste.c (ffeste_R810): Fix whitespace.
+
 2003-03-15  Andreas Jaeger  <aj@suse.de>
 
        * g77spec.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
index a620acd1f15d22dd313f48da8790c3c158f8236f..7b9b86c006844ada3fd0c0eef3923bbae21de36e 100644 (file)
@@ -2725,8 +2725,8 @@ ffeste_R810 (ffestw block, unsigned long casenum)
          }
        else
          pushok = pushcase (texprlow, convert, tlabel, &duplicate);
-       assert((pushok !=2) || (pushok !=0));
-       if (pushok==2)
+       assert((pushok != 2) || (pushok != 0));
+       if (pushok == 2)
          {
            ffebad_start_msg ("SELECT (at %0) has duplicate cases -- check integer overflow of CASE(s)",
              FFEBAD_severityFATAL);
index 912aa78c52dd066801cd95976453fd2a0307d3e5..e80fd202d3f62cf1d9abc7299873e059db1a80fa 100644 (file)
@@ -323,7 +323,7 @@ print_path (path)
   /* We first write out the operations (XEXP or XVECEXP) in reverse
      order, then write "insn", then the indices in forward order.  */
 
-  for (i = len - 1; i >=0 ; i--)
+  for (i = len - 1; i >= 0 ; i--)
     {
       if (ISLOWER(path[i]))
        printf ("XVECEXP (");
index 5295735fb778b436628260dad6c6fb40a1ef3d98..a8b587e8a8e3d6d9ce9c2596870de7bc839c8490 100644 (file)
@@ -1298,7 +1298,7 @@ schedule_insn (insn, ready, clock)
       char buf[2048];
 
       print_insn (buf, insn, 0);
-      buf[40]=0;
+      buf[40] = 0;
       fprintf (sched_dump, ";;\t%3i--> %-40s:", clock, buf);
 
       if (recog_memoized (insn) < 0)
index c403485a4487139883581dc968cee42ac186c5c8..8774fbd65db1ded704394cc66e196e6d54770b8e 100644 (file)
--- a/gcc/lcm.c
+++ b/gcc/lcm.c
@@ -129,7 +129,7 @@ compute_antinout_edge (antloc, transp, antin, antout)
      optimistic initialization of ANTIN above.  */
   FOR_EACH_BB_REVERSE (bb)
     {
-      *qin++ =bb;
+      *qin++ = bb;
       bb->aux = bb;
     }
 
index 2535cf6b24c0ea9363d1bd498b8673e718ab98fc..038cb60cd52f1a8d10b49afa9e1f15d8d44520b3 100644 (file)
@@ -296,7 +296,7 @@ decide_peel_once_rolling (loops, loop, flags)
   loop->has_desc = 1;
 
   /* Check number of iterations.  */
-  if (!loop->simple || !loop->desc.const_iter || loop->desc.niter !=0)
+  if (!loop->simple || !loop->desc.const_iter || loop->desc.niter != 0)
     {
       if (rtl_dump_file)
        fprintf (rtl_dump_file, ";; Unable to prove that the loop rolls exactly once\n");
index 6c514df1c4ee84cdcf113099c0a1fba7d05729e9..7b9016a1ec1c7bc36f334d4bfb66e04527f35d63 100644 (file)
@@ -2722,7 +2722,7 @@ ra_colorize_free_all ()
     put_web (DLIST_WEB (d), INITIAL);
   while ((d = pop_list (&WEBS(INITIAL))) != NULL)
     {
-      struct web *web =DLIST_WEB (d);
+      struct web *web = DLIST_WEB (d);
       struct web *wnext;
       web->orig_conflict_list = NULL;
       web->conflict_list = NULL;
index e415df4e69ba5da070b434b97fe01981de5e7775..5f1a6ae375050034714b3c708a455d3167b44295 100644 (file)
@@ -668,7 +668,8 @@ dump_igraph (df)
   for (def1 = 0; def1 < num_webs; def1++)
     {
       int num1 = num;
-      for (num2=0, def2 = 0; def2 < num_webs; def2++)
+      num2 = 0;
+      for (def2 = 0; def2 < num_webs; def2++)
         if (def1 != def2 && TEST_BIT (igraph, igraph_index (def1, def2)))
          {
            if (num1 == num)
@@ -1107,7 +1108,7 @@ debug_hard_reg_set (set)
      HARD_REG_SET set;
 {
   int i;
-  for (i=0; i < FIRST_PSEUDO_REGISTER; ++i)
+  for (i = 0; i < FIRST_PSEUDO_REGISTER; ++i)
     {
       if (TEST_HARD_REG_BIT (set, i))
        {
index 8626d6367787a185714748f0f4308a93e207480c..525d06694408b514c852c8e55c8827941977ff6b 100644 (file)
@@ -454,7 +454,7 @@ reg_to_stack (first, file)
   FOR_EACH_BB_REVERSE (bb)
     {
       edge e;
-      for (e = bb->pred; e; e=e->pred_next)
+      for (e = bb->pred; e; e = e->pred_next)
        if (!(e->flags & EDGE_DFS_BACK)
            && e->src != ENTRY_BLOCK_PTR)
          BLOCK_INFO (bb)->predecessors++;
index 4e604172f664bc902de3ee9d33705415ff738426..85b193e4cbb6487cc33a56e4bcb98f8d9422d93e 100644 (file)
@@ -1557,7 +1557,7 @@ refers_to_regno_p (regno, endregno, x, loc)
       else if (fmt[i] == 'E')
        {
          int j;
-         for (j = XVECLEN (x, i) - 1; j >=0; j--)
+         for (j = XVECLEN (x, i) - 1; j >= 0; j--)
            if (loc != &XVECEXP (x, i, j)
                && refers_to_regno_p (regno, endregno, XVECEXP (x, i, j), loc))
              return 1;
index 5c19b55aafd829cca6f3736eb7f326a8105f77b1..0e31b2ae2f66e01c26c51d57d953c1e8e19e2d0a 100644 (file)
@@ -347,7 +347,7 @@ layout_superblocks ()
          RBI (best->dest)->visited = 1;
        }
       else
-       for (; bb != EXIT_BLOCK_PTR; bb=bb->next_bb)
+       for (; bb != EXIT_BLOCK_PTR; bb = bb->next_bb)
          {
            if (!RBI (bb)->visited)
              {