]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c-common.c: Fix comment formatting.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 19 Aug 2003 21:04:38 +0000 (21:04 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 19 Aug 2003 21:04:38 +0000 (21:04 +0000)
* c-common.c: Fix comment formatting.
* c-common.h: Likewise.
* c-decl.c: Likewise.
* cppinit.c: Likewise.
* cpplib.h: Likewise.
* emit-rtl.c: Likewise.
* input.h: Likewise.
* line-map.h: Likewise.
* opts.c: Likewise.
* opts.h: Likewise.
* simplify-rtx.c: Likewise.

From-SVN: r70577

12 files changed:
gcc/ChangeLog
gcc/c-common.c
gcc/c-common.h
gcc/c-decl.c
gcc/cppinit.c
gcc/cpplib.h
gcc/emit-rtl.c
gcc/input.h
gcc/line-map.h
gcc/opts.c
gcc/opts.h
gcc/simplify-rtx.c

index 17e94cf9b85cbcf683e27430176b7527d58ab5a8..37f746e2485403e6d3f552b2d4be8357729b19ea 100644 (file)
@@ -1,3 +1,17 @@
+2003-08-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * c-common.c: Fix comment formatting.
+       * c-common.h: Likewise.
+       * c-decl.c: Likewise.
+       * cppinit.c: Likewise.
+       * cpplib.h: Likewise.
+       * emit-rtl.c: Likewise.
+       * input.h: Likewise.
+       * line-map.h: Likewise.
+       * opts.c: Likewise.
+       * opts.h: Likewise.
+       * simplify-rtx.c: Likewise.
+
 2003-08-19  Daniel Jacobowitz  <drow@mvista.com>
 
        * unwind-c.c: Add libgcc-style exception.
index 7b09e5d6f8e00edd5edf9caa38af23ee881199a2..cc9caf7061d52d64310e51787b0317dbe9781a7d 100644 (file)
@@ -413,7 +413,7 @@ int warn_main;
 int warn_sequence_point;
 
 /* Nonzero means warn about uninitialized variable when it is initialized with itself.
-   For example: int i = i;, GCC will not warn about this when warn_init_self is nonzero. */
+   For example: int i = i;, GCC will not warn about this when warn_init_self is nonzero.  */
 
 int warn_init_self;
 
@@ -5739,7 +5739,7 @@ c_estimate_num_insns (tree decl)
 static tree
 c_decl_uninit_1 (tree *t, int *walk_sub_trees, void *x)
 {
-  /* If x = EXP(&x)EXP, then do not warn about the use of x. */
+  /* If x = EXP(&x)EXP, then do not warn about the use of x.  */
   if (TREE_CODE (*t) == ADDR_EXPR && TREE_OPERAND (*t, 0) == x)
     {
       *walk_sub_trees = 0;
@@ -5755,11 +5755,11 @@ c_decl_uninit_1 (tree *t, int *walk_sub_trees, void *x)
 bool
 c_decl_uninit (tree t)
 {
-  /* int x = x; is GCC extension to turn off this warning, only if warn_init_self is zero. */
+  /* int x = x; is GCC extension to turn off this warning, only if warn_init_self is zero.  */
   if (DECL_INITIAL (t) == t)
     return warn_init_self ? true : false;
 
-  /* Walk the trees looking for the variable itself. */
+  /* Walk the trees looking for the variable itself.  */
   if (walk_tree_without_duplicates (&DECL_INITIAL (t), c_decl_uninit_1, t))
     return true;
   return false;
index d38a6e450726efd3fbfd59d534863bbd339a25b5..73a932cce8e033288d786bb142376eafda884887 100644 (file)
@@ -574,7 +574,7 @@ extern int warn_main;
 extern int warn_sequence_point;
 
 /* Nonzero means warn about uninitialized variable when it is initialized with itself. 
-   For example: int i = i;, GCC will not warn about this when warn_init_self is nonzero. */
+   For example: int i = i;, GCC will not warn about this when warn_init_self is nonzero.  */
 
 extern int warn_init_self;
 
index ac2089c2e26c264b5d6bb4e6a957083dc6aef5f3..feef9900145f5d3949ba4d89d739416a60830271 100644 (file)
@@ -461,7 +461,7 @@ pushlevel (int dummy ATTRIBUTE_UNUSED)
 
         The outermost block of a function always gets a BLOCK node,
         because the debugging output routines expect that each
-        function has at least one BLOCK. */
+        function has at least one BLOCK.  */
       current_scope->parm_flag         = false;
       current_scope->function_body     = true;
       current_scope->keep              = true;
index fac160ce286a9a2335700643c5b46f5f2c1ef879..351ce187eac5b4bf5ff874984df40f14fa9f7f68 100644 (file)
@@ -435,7 +435,7 @@ cpp_add_dependency_target (cpp_reader *pfile, const char *target, int quote)
 }
 
 /* This is called after options have been parsed, and partially
-   processed. */
+   processed.  */
 void
 cpp_post_options (cpp_reader *pfile)
 {
index b6f58a95cc66f957e0dad8d466eafe5f91b997ef..b63f363807d70fb82f7ea381bf6b39dcba444d97 100644 (file)
@@ -537,7 +537,7 @@ extern const char *cpp_read_main_file (cpp_reader *, const char *);
 extern void cpp_init_builtins (cpp_reader *, int);
 
 /* This is called after options have been parsed, and partially
-   processed. */
+   processed.  */
 extern void cpp_post_options (cpp_reader *);
 
 /* Set up translation to the target character set.  */
index 95b40ec508f357ae469819a79c0d270a8ac05884..45ff41ce67ae0b039cd2138bc490def99dbe0636 100644 (file)
@@ -5317,7 +5317,7 @@ init_emit_once (int line_numbers)
   enum machine_mode mode;
   enum machine_mode double_mode;
 
-  /* We need reg_raw_mode, so initialize the modes now. */
+  /* We need reg_raw_mode, so initialize the modes now.  */
   init_reg_modes_once ();
 
   /* Initialize the CONST_INT, CONST_DOUBLE, and memory attribute hash
index 7d08e11fc5a5a7918f4373ccfaec66db458db746..fba597e2af0b9c43e47dd3a030dc3a892801b149 100644 (file)
@@ -23,7 +23,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #define GCC_INPUT_H
 
 /* The data structure used to record a location in a translation unit.  */
-/* Long-term, we want to get rid of this and typedef fileline location_t. */
+/* Long-term, we want to get rid of this and typedef fileline location_t.  */
 struct location_s GTY (())
 {
   /* The name of the source file involved.  */
index 983ba699e13bf7b3f3598bdba389795d7543d2d9..b53f5e06be6e4e9e1916fb218355d5cd24a60ea8 100644 (file)
@@ -30,9 +30,9 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    (e.g. a #line directive in C).  */
 enum lc_reason {LC_ENTER = 0, LC_LEAVE, LC_RENAME};
 
-/* A logical line number, i,e, an "index" into a line_map. */
+/* A logical line number, i,e, an "index" into a line_map.  */
 /* Long-term, we want to use this to replace struct location_s (in input.h),
-   and effectively typedef fileline location_t. */
+   and effectively typedef fileline location_t.  */
 typedef unsigned int fileline;
 
 /* The logical line FROM_LINE maps to physical source file TO_FILE at
index c9f8c6a0e08487b49610728678904bc84c18f2ad..24741da5588cf7da43961339a26afe95516a6545 100644 (file)
@@ -148,7 +148,7 @@ static unsigned int columns = 80;
 /* What to print when a switch has no documentation.  */
 static const char undocumented_msg[] = N_("This switch lacks documentation");
 
-/* Input file names. */
+/* Input file names.  */
 const char **in_fnames;
 unsigned num_in_fnames;
 
index 6063057e3ecb8f77f7a9d08c2c0fa99e6dcb1a54..eb7c868120be271f20410f7cef610cec8ef254c7 100644 (file)
@@ -45,11 +45,11 @@ extern const char *const lang_names[];
 #define CL_COMMON              (1 << 29) /* Language-independent.  */
 #define CL_UNDOCUMENTED                (1 << 30) /* Do not output with --help.  */
 
-/* Input file names. */
+/* Input file names.  */
 
 extern const char **in_fnames;
 
-/* The count of input filenames. */
+/* The count of input filenames.  */
 
 extern unsigned num_in_fnames;
 
index a5903ad9d7e40c9ea91407a15b9ea43d7e54f657..ddd55cc5c965daaf3716843a4732df68e490f730 100644 (file)
@@ -130,7 +130,7 @@ avoid_constant_pool_reference (rtx x)
 
   addr = XEXP (x, 0);
 
-  /* Call target hook to avoid the effects of -fpic etc...  */
+  /* Call target hook to avoid the effects of -fpic etc....  */
   addr = (*targetm.delegitimize_address) (addr);
 
   if (GET_CODE (addr) == LO_SUM)
@@ -1041,7 +1041,7 @@ simplify_binary_operation (enum rtx_code code, enum machine_mode mode,
          neg_double (l2, h2, &lv, &hv);
          l2 = lv, h2 = hv;
 
-         /* .. fall through ...  */
+         /* Fall through....  */
 
        case PLUS:
          add_double (l1, h1, l2, h2, &lv, &hv);
@@ -1542,7 +1542,7 @@ simplify_binary_operation (enum rtx_code code, enum machine_mode mode,
              && (arg1 = exact_log2 (INTVAL (trueop1))) > 0)
            return simplify_gen_binary (LSHIFTRT, mode, op0, GEN_INT (arg1));
 
-         /* ... fall through ...  */
+         /* Fall through....  */
 
        case DIV:
          if (trueop1 == CONST1_RTX (mode))
@@ -1594,7 +1594,7 @@ simplify_binary_operation (enum rtx_code code, enum machine_mode mode,
            return simplify_gen_binary (AND, mode, op0,
                                        GEN_INT (INTVAL (op1) - 1));
 
-         /* ... fall through ...  */
+         /* Fall through....  */
 
        case MOD:
          if ((trueop0 == const0_rtx || trueop1 == const1_rtx)
@@ -1611,7 +1611,7 @@ simplify_binary_operation (enum rtx_code code, enum machine_mode mode,
              && ! side_effects_p (op1))
            return op0;
 
-         /* ... fall through ...  */
+         /* Fall through....  */
 
        case ASHIFT:
        case LSHIFTRT:
@@ -3163,7 +3163,7 @@ simplify_rtx (rtx x)
       if (swap_commutative_operands_p (XEXP (x, 0), XEXP (x, 1)))
        return simplify_gen_binary (code, mode, XEXP (x, 1), XEXP (x, 0));
 
-      /* ... fall through ... */
+      /* Fall through.... */
 
     case '2':
       return simplify_binary_operation (code, mode, XEXP (x, 0), XEXP (x, 1));