langhooks.c: Fix formatting.
authorKazu Hirata <kazu@gcc.gnu.org>
Thu, 30 May 2002 20:55:11 +0000 (20:55 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 30 May 2002 20:55:11 +0000 (20:55 +0000)
* langhooks.c: Fix formatting.
* langhooks.h: Likewise.
* lcm.c: Likewise.
* libgcc2.c: Likewise.
* lists.c: Likewise.
* local-alloc.c: Likewise.
* loop.c: Likewise.
* loop.h: Likewise.

From-SVN: r54070

gcc/ChangeLog
gcc/langhooks.c
gcc/langhooks.h
gcc/lcm.c
gcc/libgcc2.c
gcc/lists.c
gcc/local-alloc.c
gcc/loop.c
gcc/loop.h

index 9de29da3c1f4b9ba68878a66690c704766bdbfac..2da19626416c21249788ed51212e6cfe10a7f286 100644 (file)
@@ -1,7 +1,19 @@
-2002-05-30     Marc Espie <espie@openbsd.org>
-       * config.gcc (sparc64-*-openbsd*):  New.
-       * config/sparc/openbsd1-64.h:  New.
-       * config/sparc/openbsd64.h:  New.
+2002-05-30  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * langhooks.c: Fix formatting.
+       * langhooks.h: Likewise.
+       * lcm.c: Likewise.
+       * libgcc2.c: Likewise.
+       * lists.c: Likewise.
+       * local-alloc.c: Likewise.
+       * loop.c: Likewise.
+       * loop.h: Likewise.
+
+2002-05-30  Marc Espie <espie@openbsd.org>
+
+       * config.gcc (sparc64-*-openbsd*): New.
+       * config/sparc/openbsd1-64.h: New.
+       * config/sparc/openbsd64.h: New.
 
 2002-05-30  Jeff Law <law@redhat.com>
 
index 4f0e2f3b34004430c6354fb44a52756abad08c2e..79eb7f4c2ec47276f9cfb962b88c61ca8933e108 100644 (file)
@@ -158,9 +158,9 @@ lhd_set_decl_assembler_name (decl)
      VAR_DECLs for variables with static storage duration need a real
      DECL_ASSEMBLER_NAME.  */
   if (TREE_CODE (decl) == FUNCTION_DECL
-      || (TREE_CODE (decl) == VAR_DECL 
-         && (TREE_STATIC (decl) 
-             || DECL_EXTERNAL (decl) 
+      || (TREE_CODE (decl) == VAR_DECL
+         && (TREE_STATIC (decl)
+             || DECL_EXTERNAL (decl)
              || TREE_PUBLIC (decl))))
     /* By default, assume the name to use in assembly code is the
        same as that used in the source language.  (That's correct
@@ -400,8 +400,8 @@ lhd_tree_inlining_convert_parm_for_inlining (parm, value, fndecl)
   return value;
 }
 
-/* lang_hooks.tree_dump.dump_tree:  Dump language-specific parts of tree 
-   nodes.  Returns non-zero if it does not want the usual dumping of the 
+/* lang_hooks.tree_dump.dump_tree:  Dump language-specific parts of tree
+   nodes.  Returns non-zero if it does not want the usual dumping of the
    second argument.  */
 
 int
@@ -412,7 +412,7 @@ lhd_tree_dump_dump_tree (di, t)
   return 0;
 }
 
-/* lang_hooks.tree_dump.type_qual:  Determine type qualifiers in a 
+/* lang_hooks.tree_dump.type_qual:  Determine type qualifiers in a
    language-specific way.  */
 
 int
@@ -421,4 +421,3 @@ lhd_tree_dump_type_quals (t)
 {
   return TYPE_QUALS (t);
 }
-
index 56b2966df4f40559b1554fa606780a4ff79fb2d8..ffa351794068caf0b1993bc35844492ca5e89d3a 100644 (file)
@@ -81,7 +81,7 @@ struct lang_hooks_for_functions
 
 struct lang_hooks_for_tree_dump
 {
-  /* Dump language-specific parts of tree nodes.  Returns non-zero if it 
+  /* Dump language-specific parts of tree nodes.  Returns non-zero if it
      does not want the usual dumping of the second argument.  */
   int (*dump_tree) PARAMS ((void *, tree));
 
@@ -96,7 +96,7 @@ struct lang_hooks_for_types
   /* Return a new type (with the indicated CODE), doing whatever
      language-specific processing is required.  */
   tree (*make_type) PARAMS ((enum tree_code));
-  
+
   /* Given MODE and UNSIGNEDP, return a suitable type-tree with that
      mode.  */
   tree (*type_for_mode) PARAMS ((enum machine_mode, int));
@@ -344,7 +344,7 @@ struct lang_hooks
   struct lang_hooks_for_functions function;
 
   struct lang_hooks_for_tree_inlining tree_inlining;
-  
+
   struct lang_hooks_for_tree_dump tree_dump;
 
   struct lang_hooks_for_decls decls;
index 783c70f7f0a6161e4d3579884e69263f3e86d924..3d4ccc9bb58417a2db929c2b58930e26d6b28a7d 100644 (file)
--- a/gcc/lcm.c
+++ b/gcc/lcm.c
@@ -147,7 +147,7 @@ compute_antinout_edge (antloc, transp, antin, antout)
       qlen--;
 
       if (qout >= qend)
-        qout = worklist;
+       qout = worklist;
 
       if (bb->aux == EXIT_BLOCK_PTR)
        /* Do not clear the aux field for blocks which are predecessors of
@@ -174,7 +174,7 @@ compute_antinout_edge (antloc, transp, antin, antout)
              e->src->aux = e;
              qlen++;
              if (qin >= qend)
-               qin = worklist;
+               qin = worklist;
            }
     }
 
@@ -207,7 +207,7 @@ compute_earliest (edge_list, n_exprs, antin, antout, avout, kill, earliest)
       if (pred == ENTRY_BLOCK_PTR)
        sbitmap_copy (earliest[x], antin[succ->index]);
       else
-        {
+       {
          if (succ == EXIT_BLOCK_PTR)
            sbitmap_zero (earliest[x]);
          else
@@ -317,7 +317,7 @@ compute_laterin (edge_list, earliest, antloc, later, laterin)
       bb->aux = NULL;
       qlen--;
       if (qout >= qend)
-        qout = worklist;
+       qout = worklist;
 
       /* Compute the intersection of LATERIN for each incoming edge to B.  */
       sbitmap_ones (laterin[bb->index]);
@@ -529,7 +529,7 @@ compute_available (avloc, kill, avout, avin)
       qlen--;
 
       if (qout >= qend)
-        qout = worklist;
+       qout = worklist;
 
       /* If one of the predecessor blocks is the ENTRY block, then the
         intersection of avouts is the null set.  We can identify such blocks
@@ -558,7 +558,7 @@ compute_available (avloc, kill, avout, avin)
              qlen++;
 
              if (qin >= qend)
-               qin = worklist;
+               qin = worklist;
            }
     }
 
@@ -930,7 +930,7 @@ add_seginfo (head, info)
     {
       ptr = head->seginfo;
       while (ptr->next != NULL)
-        ptr = ptr->next;
+       ptr = ptr->next;
       ptr->next = info;
     }
 }
@@ -1035,7 +1035,7 @@ optimize_mode_switching (file)
 
        /* Create the list of segments within each basic block.
           If NORMAL_MODE is defined, allow for two extra
-          blocks split from the entry and exit block. */
+          blocks split from the entry and exit block.  */
 #ifdef NORMAL_MODE
        entry_exit_extra = 2;
 #endif
index a88c08df366b099978b4e7ba63c94942d0a1669b..5895c9c9fb4503adf7c7e3670b7519d911be6905 100644 (file)
@@ -151,9 +151,9 @@ __mulvsi3 (Wtype a, Wtype b)
 Wtype
 __negvsi2 (Wtype a)
 {
-   Wtype w;
+  Wtype w;
 
-   w  = -a;
+  w  = -a;
 
   if (a >= 0 ? w > 0 : w < 0)
     abort ();
@@ -166,14 +166,14 @@ __negvsi2 (Wtype a)
 DWtype
 __negvdi2 (DWtype a)
 {
-   DWtype w;
+  DWtype w;
 
-   w  = -a;
+  w  = -a;
 
   if (a >= 0 ? w > 0 : w < 0)
     abort ();
 
-   return w;
+  return w;
 }
 #endif
 \f
@@ -181,16 +181,16 @@ __negvdi2 (DWtype a)
 Wtype
 __absvsi2 (Wtype a)
 {
-   Wtype w = a;
+  Wtype w = a;
 
-   if (a < 0)
+  if (a < 0)
 #ifdef L_negvsi2
-     w = __negvsi2 (a);
+    w = __negvsi2 (a);
 #else
-     w = -a;
+    w = -a;
 
-   if (w < 0)
-     abort ();
+  if (w < 0)
+    abort ();
 #endif
 
    return w;
@@ -201,19 +201,19 @@ __absvsi2 (Wtype a)
 DWtype
 __absvdi2 (DWtype a)
 {
-   DWtype w = a;
+  DWtype w = a;
 
-   if (a < 0)
+  if (a < 0)
 #ifdef L_negvsi2
-     w = __negvsi2 (a);
+    w = __negvsi2 (a);
 #else
-     w = -a;
+    w = -a;
 
-   if (w < 0)
-     abort ();
+  if (w < 0)
+    abort ();
 #endif
 
-   return w;
+  return w;
 }
 #endif
 \f
@@ -221,7 +221,7 @@ __absvdi2 (DWtype a)
 DWtype
 __mulvdi3 (DWtype u, DWtype v)
 {
-   DWtype w;
+  DWtype w;
 
   w = u * v;
 
@@ -1383,21 +1383,21 @@ __bb_exit_func (void)
          /* length of extra data in bytes.  */
          __write_long ((4 + 8 + 8) + (4 + 8 + 8), da_file, 4);
 
-         /* overall statistics. */
+         /* overall statistics.  */
          /* number of counters.  */
-         __write_long (n_counters_p, da_file, 4);      
+         __write_long (n_counters_p, da_file, 4);
          /* sum of counters.  */
-         __write_gcov_type (sum_counters_p, da_file, 8);       
+         __write_gcov_type (sum_counters_p, da_file, 8);
          /* maximal counter.  */
-         __write_gcov_type (max_counter_p, da_file, 8);        
+         __write_gcov_type (max_counter_p, da_file, 8);
 
-         /* per-object statistics. */
+         /* per-object statistics.  */
          /* number of counters.  */
-         __write_long (ptr->ncounts, da_file, 4);      
+         __write_long (ptr->ncounts, da_file, 4);
          /* sum of counters.  */
-         __write_gcov_type (sum_counters_o, da_file, 8);       
+         __write_gcov_type (sum_counters_o, da_file, 8);
          /* maximal counter.  */
-         __write_gcov_type (max_counter_o, da_file, 8);        
+         __write_gcov_type (max_counter_o, da_file, 8);
 
          /* write execution counts for each function.  */
 
@@ -1460,7 +1460,7 @@ __bb_init_func (struct bb *blocks)
 
   if (blocks->zero_word)
     return;
-  
+
   /* Initialize destructor and per-thread data.  */
   if (!bb_head)
     atexit (__bb_exit_func);
@@ -1474,7 +1474,7 @@ __bb_init_func (struct bb *blocks)
 /* Called before fork or exec - write out profile information gathered so
    far and reset it to zero.  This avoids duplication or loss of the
    profile information gathered so far.  */
-void 
+void
 __bb_fork_func (void)
 {
   struct bb *ptr;
index 0adacfb5162f7232687bc57019a1f419f33976c1..88abc545ba1951ea48539bef5f94a863392b34e1 100644 (file)
@@ -62,7 +62,7 @@ free_list (listp, unused_listp)
 }
 
 /* This call is used in place of a gen_rtx_INSN_LIST. If there is a cached
-   node available, we'll use it, otherwise a call to gen_rtx_INSN_LIST 
+   node available, we'll use it, otherwise a call to gen_rtx_INSN_LIST
    is made.  */
 rtx
 alloc_INSN_LIST (val, next)
@@ -85,7 +85,7 @@ alloc_INSN_LIST (val, next)
 }
 
 /* This call is used in place of a gen_rtx_EXPR_LIST. If there is a cached
-   node available, we'll use it, otherwise a call to gen_rtx_EXPR_LIST 
+   node available, we'll use it, otherwise a call to gen_rtx_EXPR_LIST
    is made.  */
 rtx
 alloc_EXPR_LIST (kind, val, next)
@@ -118,14 +118,14 @@ zap_lists (dummy)
   unused_insn_list = NULL;
 }
 
-void 
+void
 init_EXPR_INSN_LIST_cache ()
 {
   ggc_add_root (&unused_expr_list, 1, 1, zap_lists);
 }
 
 /* This function will free up an entire list of EXPR_LIST nodes.  */
-void 
+void
 free_EXPR_LIST_list (listp)
      rtx *listp;
 {
@@ -135,7 +135,7 @@ free_EXPR_LIST_list (listp)
 }
 
 /* This function will free up an entire list of INSN_LIST nodes.  */
-void 
+void
 free_INSN_LIST_list (listp)
      rtx *listp;
 {
@@ -145,7 +145,7 @@ free_INSN_LIST_list (listp)
 }
 
 /* This function will free up an individual EXPR_LIST node.  */
-void 
+void
 free_EXPR_LIST_node (ptr)
      rtx ptr;
 {
@@ -154,7 +154,7 @@ free_EXPR_LIST_node (ptr)
 }
 
 /* This function will free up an individual INSN_LIST node.  */
-void 
+void
 free_INSN_LIST_node (ptr)
      rtx ptr;
 {
index dea22dd869e4f6a7d0a3a0044c4419c928f9012b..77607ba74be5b3e34f9e4ba1ff8cc56b00613693 100644 (file)
@@ -1115,7 +1115,7 @@ update_equiv_regs ()
                      REG_N_REFS (regno) = 0;
                      REG_FREQ (regno) = 0;
                      delete_insn (equiv_insn);
-                     
+
                      reg_equiv[regno].init_insns
                        = XEXP (reg_equiv[regno].init_insns, 1);
                    }
@@ -1159,7 +1159,7 @@ update_equiv_regs ()
     {
       int j;
       if (clear_regnos > 8)
-        {
+       {
          FOR_EACH_BB (bb)
            {
              AND_COMPL_REG_SET (bb->global_live_at_start, &cleared_regs);
@@ -1167,8 +1167,8 @@ update_equiv_regs ()
            }
        }
       else
-        EXECUTE_IF_SET_IN_REG_SET (&cleared_regs, 0, j,
-          {
+       EXECUTE_IF_SET_IN_REG_SET (&cleared_regs, 0, j,
+         {
            FOR_EACH_BB (bb)
              {
                CLEAR_REGNO_REG_SET (bb->global_live_at_start, j);
index 7d3c5b2eebe622a0b89d1cf592f9a9ee51c6227d..8581af2746ec564d5372cf1ebe6b171288116399 100644 (file)
@@ -1073,7 +1073,7 @@ scan_loop (loop, flags)
                  unconditional jump, otherwise the code at the top of the
                  loop might never be executed.  Unconditional jumps are
                  followed by a barrier then the loop_end.  */
-               && ! (GET_CODE (p) == JUMP_INSN && JUMP_LABEL (p) == loop->top
+              && ! (GET_CODE (p) == JUMP_INSN && JUMP_LABEL (p) == loop->top
                     && NEXT_INSN (NEXT_INSN (p)) == loop_end
                     && any_uncondjump_p (p)))
        maybe_never = 1;
@@ -3742,9 +3742,9 @@ remove_constant_addition (x)
       /* In case our parameter was constant, remove extra zero from the
         expression.  */
       if (XEXP (exp, 0) == const0_rtx)
-        *x = XEXP (exp, 1);
+       *x = XEXP (exp, 1);
       else if (XEXP (exp, 1) == const0_rtx)
-        *x = XEXP (exp, 0);
+       *x = XEXP (exp, 0);
     }
 
   return addval;
@@ -8647,9 +8647,9 @@ loop_insn_first_p (insn, reference)
       /* Start with test for not first so that INSN == REFERENCE yields not
          first.  */
       if (q == insn || ! p)
-        return 0;
+       return 0;
       if (p == reference || ! q)
-        return 1;
+       return 1;
 
       /* Either of P or Q might be a NOTE.  Notes have the same LUID as the
          previous insn, hence the <= comparison below does not work if
@@ -9642,11 +9642,11 @@ loop_regs_scan (loop, extra_size)
   if (LOOP_INFO (loop)->has_call)
     for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
       if (TEST_HARD_REG_BIT (regs_invalidated_by_call, i)
-          && rtx_varies_p (gen_rtx_REG (Pmode, i), /*for_alias=*/1))
-        {
-          regs->array[i].may_not_optimize = 1;
-          regs->array[i].set_in_loop = 1;
-        }
+         && rtx_varies_p (gen_rtx_REG (Pmode, i), /*for_alias=*/1))
+       {
+         regs->array[i].may_not_optimize = 1;
+         regs->array[i].set_in_loop = 1;
+       }
 
 #ifdef AVOID_CCMODE_COPIES
   /* Don't try to move insns which set CC registers if we should not
@@ -10583,9 +10583,9 @@ loop_iv_class_dump (bl, file, verbose)
       fprintf (file, " Giv%d: insn %d, benefit %d, ",
               i, INSN_UID (v->insn), v->benefit);
       if (v->giv_type == DEST_ADDR)
-         print_simple_rtl (file, v->mem);
+       print_simple_rtl (file, v->mem);
       else
-         print_simple_rtl (file, single_set (v->insn));
+       print_simple_rtl (file, single_set (v->insn));
       fputc ('\n', file);
     }
 }
@@ -10628,7 +10628,7 @@ loop_giv_dump (v, file, verbose)
 
   if (v->giv_type == DEST_REG)
     fprintf (file, "Giv %d: insn %d",
-            REGNO (v->dest_reg),  INSN_UID (v->insn));
+            REGNO (v->dest_reg), INSN_UID (v->insn));
   else
     fprintf (file, "Dest address: insn %d",
             INSN_UID (v->insn));
index 3df9cfc33fcc50cbdc7bc64ed967466b8ff88ff9..4f4dc4160c16a002218b27a6c1a49670295bd793 100644 (file)
@@ -205,7 +205,7 @@ enum iv_mode
 struct iv
 {
   enum iv_mode type;
-  union 
+  union
   {
     struct iv_class *class;
     struct induction *info;
@@ -394,7 +394,7 @@ int loop_invariant_p PARAMS ((const struct loop *, rtx));
 rtx get_condition_for_loop PARAMS ((const struct loop *, rtx));
 void loop_iv_add_mult_hoist PARAMS ((const struct loop *, rtx, rtx, rtx, rtx));
 void loop_iv_add_mult_sink PARAMS ((const struct loop *, rtx, rtx, rtx, rtx));
-void loop_iv_add_mult_emit_before PARAMS ((const struct loop *, rtx, 
+void loop_iv_add_mult_emit_before PARAMS ((const struct loop *, rtx,
                                           rtx, rtx, rtx,
                                           basic_block, rtx));
 rtx express_from PARAMS ((struct induction *, struct induction *));
@@ -414,7 +414,7 @@ int back_branch_in_range_p PARAMS ((const struct loop *, rtx));
 int loop_insn_first_p PARAMS ((rtx, rtx));
 typedef rtx (*loop_insn_callback) PARAMS ((struct loop *, rtx, int, int));
 void for_each_insn_in_loop PARAMS ((struct loop *, loop_insn_callback));
-rtx loop_insn_emit_before PARAMS((const struct loop *, basic_block, 
+rtx loop_insn_emit_before PARAMS((const struct loop *, basic_block,
                                  rtx, rtx));
 rtx loop_insn_sink PARAMS((const struct loop *, rtx));
 rtx loop_insn_hoist PARAMS((const struct loop *, rtx));