Commit ea4b7848 by Kazu Hirata Committed by Kazu Hirata

c-typeck.c, [...]: Fix comment formatting.

	* c-typeck.c, defaults.h, dwarf.h, dwarf2out.c, fold-const.c,
	gthr-dce.h, gthr-posix.h, gthr-solaris.h, gthr-win32.h,
	lambda-code.c, lambda-mat.c, libgcc2.c, stmt.c,
	tree-ssa-pre.c, tree-vn.c, tree.h: Fix comment formatting.

From-SVN: r88102
parent e75220c8
2004-09-25 Kazu Hirata <kazu@cs.umass.edu> 2004-09-25 Kazu Hirata <kazu@cs.umass.edu>
* c-typeck.c, defaults.h, dwarf.h, dwarf2out.c, fold-const.c,
gthr-dce.h, gthr-posix.h, gthr-solaris.h, gthr-win32.h,
lambda-code.c, lambda-mat.c, libgcc2.c, stmt.c,
tree-ssa-pre.c, tree-vn.c, tree.h: Fix comment formatting.
2004-09-25 Kazu Hirata <kazu@cs.umass.edu>
* tree-ssa-loop-unswitch.c: Fix a comment typo. * tree-ssa-loop-unswitch.c: Fix a comment typo.
2004-09-25 Kazu Hirata <kazu@cs.umass.edu> 2004-09-25 Kazu Hirata <kazu@cs.umass.edu>
......
...@@ -3321,7 +3321,7 @@ build_modify_expr (tree lhs, enum tree_code modifycode, tree rhs) ...@@ -3321,7 +3321,7 @@ build_modify_expr (tree lhs, enum tree_code modifycode, tree rhs)
if (TREE_CODE (newrhs) == ERROR_MARK) if (TREE_CODE (newrhs) == ERROR_MARK)
return error_mark_node; return error_mark_node;
/* Scan operands */ /* Scan operands. */
result = build2 (MODIFY_EXPR, lhstype, lhs, newrhs); result = build2 (MODIFY_EXPR, lhstype, lhs, newrhs);
TREE_SIDE_EFFECTS (result) = 1; TREE_SIDE_EFFECTS (result) = 1;
......
...@@ -248,7 +248,7 @@ do { fputs (integer_asm_op (POINTER_SIZE / BITS_PER_UNIT, TRUE), FILE); \ ...@@ -248,7 +248,7 @@ do { fputs (integer_asm_op (POINTER_SIZE / BITS_PER_UNIT, TRUE), FILE); \
#define TARGET_WEAK_NOT_IN_ARCHIVE_TOC 0 #define TARGET_WEAK_NOT_IN_ARCHIVE_TOC 0
#endif #endif
/* This determines whether or not we need linkonce unwind information */ /* This determines whether or not we need linkonce unwind information. */
#ifndef TARGET_USES_WEAK_UNWIND_INFO #ifndef TARGET_USES_WEAK_UNWIND_INFO
#define TARGET_USES_WEAK_UNWIND_INFO 0 #define TARGET_USES_WEAK_UNWIND_INFO 0
#endif #endif
......
...@@ -219,7 +219,7 @@ enum dwarf_fundamental_type { ...@@ -219,7 +219,7 @@ enum dwarf_fundamental_type {
/* GNU extensions /* GNU extensions
The low order byte must indicate the size (in bytes) for the type. The low order byte must indicate the size (in bytes) for the type.
All of these types will probably break "classic" svr4 SDB */ All of these types will probably break "classic" svr4 SDB. */
FT_long_long = 0x8008, FT_long_long = 0x8008,
FT_signed_long_long = 0x8108, FT_signed_long_long = 0x8108,
......
...@@ -12926,7 +12926,7 @@ lookup_filename (const char *file_name) ...@@ -12926,7 +12926,7 @@ lookup_filename (const char *file_name)
return file_table_last_lookup_index; return file_table_last_lookup_index;
} }
/* Didn't match the previous lookup, search the table */ /* Didn't match the previous lookup, search the table. */
n = VARRAY_ACTIVE_SIZE (file_table); n = VARRAY_ACTIVE_SIZE (file_table);
for (i = 1; i < n; i++) for (i = 1; i < n; i++)
if (strcmp (file_name, VARRAY_CHAR_PTR (file_table, i)) == 0) if (strcmp (file_name, VARRAY_CHAR_PTR (file_table, i)) == 0)
...@@ -13219,7 +13219,7 @@ dwarf2out_init (const char *filename ATTRIBUTE_UNUSED) ...@@ -13219,7 +13219,7 @@ dwarf2out_init (const char *filename ATTRIBUTE_UNUSED)
abbrev_die_table = ggc_alloc_cleared (ABBREV_DIE_TABLE_INCREMENT abbrev_die_table = ggc_alloc_cleared (ABBREV_DIE_TABLE_INCREMENT
* sizeof (dw_die_ref)); * sizeof (dw_die_ref));
abbrev_die_table_allocated = ABBREV_DIE_TABLE_INCREMENT; abbrev_die_table_allocated = ABBREV_DIE_TABLE_INCREMENT;
/* Zero-th entry is allocated, but unused */ /* Zero-th entry is allocated, but unused. */
abbrev_die_table_in_use = 1; abbrev_die_table_in_use = 1;
/* Allocate the initial hunk of the line_info_table. */ /* Allocate the initial hunk of the line_info_table. */
...@@ -13227,7 +13227,7 @@ dwarf2out_init (const char *filename ATTRIBUTE_UNUSED) ...@@ -13227,7 +13227,7 @@ dwarf2out_init (const char *filename ATTRIBUTE_UNUSED)
* sizeof (dw_line_info_entry)); * sizeof (dw_line_info_entry));
line_info_table_allocated = LINE_INFO_TABLE_INCREMENT; line_info_table_allocated = LINE_INFO_TABLE_INCREMENT;
/* Zero-th entry is allocated, but unused */ /* Zero-th entry is allocated, but unused. */
line_info_table_in_use = 1; line_info_table_in_use = 1;
/* Generate the initial DIE for the .debug section. Note that the (string) /* Generate the initial DIE for the .debug section. Note that the (string)
......
...@@ -6686,7 +6686,7 @@ fold (tree expr) ...@@ -6686,7 +6686,7 @@ fold (tree expr)
TREE_OPERAND (arg0, 0), TREE_OPERAND (arg0, 0),
build_real (type, c1))); build_real (type, c1)));
} }
/* Convert a + (b*c + d*e) into (a + b*c) + d*e */ /* Convert a + (b*c + d*e) into (a + b*c) + d*e. */
if (flag_unsafe_math_optimizations if (flag_unsafe_math_optimizations
&& TREE_CODE (arg1) == PLUS_EXPR && TREE_CODE (arg1) == PLUS_EXPR
&& TREE_CODE (arg0) != MULT_EXPR) && TREE_CODE (arg0) != MULT_EXPR)
...@@ -6701,7 +6701,7 @@ fold (tree expr) ...@@ -6701,7 +6701,7 @@ fold (tree expr)
return fold (build2 (PLUS_EXPR, type, tree0, tree11)); return fold (build2 (PLUS_EXPR, type, tree0, tree11));
} }
} }
/* Convert (b*c + d*e) + a into b*c + (d*e +a) */ /* Convert (b*c + d*e) + a into b*c + (d*e +a). */
if (flag_unsafe_math_optimizations if (flag_unsafe_math_optimizations
&& TREE_CODE (arg0) == PLUS_EXPR && TREE_CODE (arg0) == PLUS_EXPR
&& TREE_CODE (arg1) != MULT_EXPR) && TREE_CODE (arg1) != MULT_EXPR)
...@@ -9569,7 +9569,7 @@ tree_expr_nonnegative_p (tree t) ...@@ -9569,7 +9569,7 @@ tree_expr_nonnegative_p (tree t)
/* Return true when T is an address and is known to be nonzero. /* Return true when T is an address and is known to be nonzero.
For floating point we further ensure that T is not denormal. For floating point we further ensure that T is not denormal.
Similar logic is present in nonzero_address in rtlanal.h */ Similar logic is present in nonzero_address in rtlanal.h. */
static bool static bool
tree_expr_nonzero_p (tree t) tree_expr_nonzero_p (tree t)
......
...@@ -124,7 +124,7 @@ static inline int ...@@ -124,7 +124,7 @@ static inline int
__gthread_objc_init_thread_system (void) __gthread_objc_init_thread_system (void)
{ {
if (__gthread_active_p ()) if (__gthread_active_p ())
/* Initialize the thread storage key */ /* Initialize the thread storage key. */
return pthread_keycreate (&_objc_thread_storage, NULL); return pthread_keycreate (&_objc_thread_storage, NULL);
else else
return -1; return -1;
......
...@@ -143,7 +143,7 @@ __gthread_objc_init_thread_system (void) ...@@ -143,7 +143,7 @@ __gthread_objc_init_thread_system (void)
{ {
if (__gthread_active_p ()) if (__gthread_active_p ())
{ {
/* Initialize the thread storage key */ /* Initialize the thread storage key. */
if (pthread_key_create (&_objc_thread_storage, NULL) == 0) if (pthread_key_create (&_objc_thread_storage, NULL) == 0)
{ {
/* The normal default detach state for threads is /* The normal default detach state for threads is
......
...@@ -113,7 +113,7 @@ static void *thread_local_storage = NULL; ...@@ -113,7 +113,7 @@ static void *thread_local_storage = NULL;
static inline int static inline int
__gthread_objc_init_thread_system (void) __gthread_objc_init_thread_system (void)
{ {
/* Initialize the thread storage key */ /* Initialize the thread storage key. */
if (__gthread_active_p () if (__gthread_active_p ()
&& thr_keycreate (&_objc_thread_storage, NULL) == 0) && thr_keycreate (&_objc_thread_storage, NULL) == 0)
return 0; return 0;
......
...@@ -88,7 +88,7 @@ static DWORD __gthread_objc_data_tls = (DWORD) -1; ...@@ -88,7 +88,7 @@ static DWORD __gthread_objc_data_tls = (DWORD) -1;
int int
__gthread_objc_init_thread_system (void) __gthread_objc_init_thread_system (void)
{ {
/* Initialize the thread storage key */ /* Initialize the thread storage key. */
if ((__gthread_objc_data_tls = TlsAlloc ()) != (DWORD) -1) if ((__gthread_objc_data_tls = TlsAlloc ()) != (DWORD) -1)
return 0; return 0;
else else
......
...@@ -644,7 +644,7 @@ lambda_compute_auxillary_space (lambda_loopnest nest, ...@@ -644,7 +644,7 @@ lambda_compute_auxillary_space (lambda_loopnest nest,
Remember the constant are in our vector a, our coefficient matrix is A, Remember the constant are in our vector a, our coefficient matrix is A,
and our invariant coefficient matrix is B */ and our invariant coefficient matrix is B */
/* Swap B and B1, and a1 and a */ /* Swap B and B1, and a1 and a. */
temp0 = B1; temp0 = B1;
B1 = B; B1 = B;
B = temp0; B = temp0;
...@@ -806,10 +806,10 @@ lambda_compute_target_space (lambda_loopnest auxillary_nest, ...@@ -806,10 +806,10 @@ lambda_compute_target_space (lambda_loopnest auxillary_nest,
/* Computes the gcd of the coefficients of the linear part. */ /* Computes the gcd of the coefficients of the linear part. */
gcd1 = gcd_vector (target[i], i); gcd1 = gcd_vector (target[i], i);
/* Include the denominator in the GCD */ /* Include the denominator in the GCD. */
gcd1 = gcd (gcd1, determinant); gcd1 = gcd (gcd1, determinant);
/* Now divide through by the gcd */ /* Now divide through by the gcd. */
for (j = 0; j < i; j++) for (j = 0; j < i; j++)
target[i][j] = target[i][j] / gcd1; target[i][j] = target[i][j] / gcd1;
...@@ -822,7 +822,7 @@ lambda_compute_target_space (lambda_loopnest auxillary_nest, ...@@ -822,7 +822,7 @@ lambda_compute_target_space (lambda_loopnest auxillary_nest,
LL_LINEAR_OFFSET (target_loop) = expression; LL_LINEAR_OFFSET (target_loop) = expression;
} }
/* For each loop, compute the new bounds from H */ /* For each loop, compute the new bounds from H. */
for (i = 0; i < depth; i++) for (i = 0; i < depth; i++)
{ {
auxillary_loop = LN_LOOPS (auxillary_nest)[i]; auxillary_loop = LN_LOOPS (auxillary_nest)[i];
......
...@@ -602,9 +602,9 @@ lambda_matrix_project_to_null (lambda_matrix B, int rowsize, ...@@ -602,9 +602,9 @@ lambda_matrix_project_to_null (lambda_matrix B, int rowsize,
lambda_matrix M1, M2, M3, I; lambda_matrix M1, M2, M3, I;
int determinant; int determinant;
/* compute c(I-B^T inv(B B^T) B) e sub k */ /* Compute c(I-B^T inv(B B^T) B) e sub k. */
/* M1 is the transpose of B */ /* M1 is the transpose of B. */
M1 = lambda_matrix_new (colsize, colsize); M1 = lambda_matrix_new (colsize, colsize);
lambda_matrix_transpose (B, M1, rowsize, colsize); lambda_matrix_transpose (B, M1, rowsize, colsize);
......
...@@ -489,16 +489,16 @@ __udiv_w_sdiv (UWtype *rp, UWtype a1, UWtype a0, UWtype d) ...@@ -489,16 +489,16 @@ __udiv_w_sdiv (UWtype *rp, UWtype a1, UWtype a0, UWtype d)
{ {
if (a1 < d - a1 - (a0 >> (W_TYPE_SIZE - 1))) if (a1 < d - a1 - (a0 >> (W_TYPE_SIZE - 1)))
{ {
/* dividend, divisor, and quotient are nonnegative */ /* Dividend, divisor, and quotient are nonnegative. */
sdiv_qrnnd (q, r, a1, a0, d); sdiv_qrnnd (q, r, a1, a0, d);
} }
else else
{ {
/* Compute c1*2^32 + c0 = a1*2^32 + a0 - 2^31*d */ /* Compute c1*2^32 + c0 = a1*2^32 + a0 - 2^31*d. */
sub_ddmmss (c1, c0, a1, a0, d >> 1, d << (W_TYPE_SIZE - 1)); sub_ddmmss (c1, c0, a1, a0, d >> 1, d << (W_TYPE_SIZE - 1));
/* Divide (c1*2^32 + c0) by d */ /* Divide (c1*2^32 + c0) by d. */
sdiv_qrnnd (q, r, c1, c0, d); sdiv_qrnnd (q, r, c1, c0, d);
/* Add 2^31 to quotient */ /* Add 2^31 to quotient. */
q += (UWtype) 1 << (W_TYPE_SIZE - 1); q += (UWtype) 1 << (W_TYPE_SIZE - 1);
} }
} }
......
...@@ -701,7 +701,7 @@ expand_asm_operands (tree string, tree outputs, tree inputs, ...@@ -701,7 +701,7 @@ expand_asm_operands (tree string, tree outputs, tree inputs,
/* Mark clobbered registers. */ /* Mark clobbered registers. */
if (i >= 0) if (i >= 0)
{ {
/* Clobbering the PIC register is an error */ /* Clobbering the PIC register is an error. */
if (i == (int) PIC_OFFSET_TABLE_REGNUM) if (i == (int) PIC_OFFSET_TABLE_REGNUM)
{ {
error ("PIC register %qs clobbered in %<asm%>", regname); error ("PIC register %qs clobbered in %<asm%>", regname);
......
...@@ -856,7 +856,7 @@ phi_translate (tree expr, value_set_t set, basic_block pred, ...@@ -856,7 +856,7 @@ phi_translate (tree expr, value_set_t set, basic_block pred,
if (is_gimple_min_invariant (expr)) if (is_gimple_min_invariant (expr))
return expr; return expr;
/* Phi translations of a given expression don't change, */ /* Phi translations of a given expression don't change. */
phitrans = phi_trans_lookup (expr, pred); phitrans = phi_trans_lookup (expr, pred);
if (phitrans) if (phitrans)
return phitrans; return phitrans;
...@@ -1199,7 +1199,7 @@ compute_antic_aux (basic_block block) ...@@ -1199,7 +1199,7 @@ compute_antic_aux (basic_block block)
VEC_free (basic_block, worklist); VEC_free (basic_block, worklist);
} }
/* Generate ANTIC_OUT - TMP_GEN */ /* Generate ANTIC_OUT - TMP_GEN. */
S = bitmap_set_subtract_from_value_set (ANTIC_OUT, TMP_GEN (block), false); S = bitmap_set_subtract_from_value_set (ANTIC_OUT, TMP_GEN (block), false);
/* Start ANTIC_IN with EXP_GEN - TMP_GEN */ /* Start ANTIC_IN with EXP_GEN - TMP_GEN */
......
...@@ -165,7 +165,7 @@ val_expr_pair_expr_eq (const void *p1, const void *p2) ...@@ -165,7 +165,7 @@ val_expr_pair_expr_eq (const void *p1, const void *p2)
} }
/* Set the value handle for expression E to value V */ /* Set the value handle for expression E to value V. */
static void static void
set_value_handle (tree e, tree v) set_value_handle (tree e, tree v)
......
...@@ -3251,11 +3251,11 @@ extern int mostly_zeros_p (tree); ...@@ -3251,11 +3251,11 @@ extern int mostly_zeros_p (tree);
extern void add_var_to_bind_expr (tree, tree); extern void add_var_to_bind_expr (tree, tree);
/* integer_zerop (tree x) is nonzero if X is an integer constant of value 0 */ /* integer_zerop (tree x) is nonzero if X is an integer constant of value 0. */
extern int integer_zerop (tree); extern int integer_zerop (tree);
/* integer_onep (tree x) is nonzero if X is an integer constant of value 1 */ /* integer_onep (tree x) is nonzero if X is an integer constant of value 1. */
extern int integer_onep (tree); extern int integer_onep (tree);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment