c-common.h: Fix comment formatting.

* c-common.h: Fix comment formatting.
	* c-cppbuiltin.c: Likewise.
	* c-pragma.c: Likewise.
	* calls.c: Likewise.
	* collect2.c: Likewise.
	* cppcharset.c: Likewise.
	* cpptrad.c: Likewise.
	* dbxout.c: Likewise.
	* defaults.h: Likewise.
	* dwarf2out.c: Likewise.
	* fold-const.c: Likewise.
	* genautomata.c: Likewise.
	* genconditions.c: Likewise.
	* genflags.c: Likewise.
	* gengtype.c: Likewise.
	* integrate.c: Likewise.
	* loop.c: Likewise.
	* predict.c: Likewise.
	* sdbout.c: Likewise.

From-SVN: r75957
This commit is contained in:
Kazu Hirata 2004-01-16 01:44:06 +00:00 committed by Kazu Hirata
parent f57fc998ee
commit e0a21ab90e
20 changed files with 50 additions and 27 deletions

View File

@ -1,3 +1,25 @@
2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
* c-common.h: Fix comment formatting.
* c-cppbuiltin.c: Likewise.
* c-pragma.c: Likewise.
* calls.c: Likewise.
* collect2.c: Likewise.
* cppcharset.c: Likewise.
* cpptrad.c: Likewise.
* dbxout.c: Likewise.
* defaults.h: Likewise.
* dwarf2out.c: Likewise.
* fold-const.c: Likewise.
* genautomata.c: Likewise.
* genconditions.c: Likewise.
* genflags.c: Likewise.
* gengtype.c: Likewise.
* integrate.c: Likewise.
* loop.c: Likewise.
* predict.c: Likewise.
* sdbout.c: Likewise.
2004-01-15 Zack Weinberg <zack@codesourcery.com>
* config/ia64/ia64.md (*movti_internal): C output template

View File

@ -222,7 +222,8 @@ struct c_common_identifier GTY(())
extern GTY(()) tree c_global_trees[CTI_MAX];
/* In a RECORD_TYPE, a sorted array of the fields of the type, not a tree for size reasons. */
/* In a RECORD_TYPE, a sorted array of the fields of the type, not a
tree for size reasons. */
struct sorted_fields_type GTY(())
{
int len;

View File

@ -308,7 +308,7 @@ c_cpp_builtins (cpp_reader *pfile)
if (flag_exceptions)
cpp_define (pfile, "__EXCEPTIONS");
/* represents the C++ ABI version, always defined so it can be used while
/* Represents the C++ ABI version, always defined so it can be used while
preprocessing C and assembler. */
if (flag_abi_version == 0)
/* Use a very large value so that:
@ -324,7 +324,7 @@ c_cpp_builtins (cpp_reader *pfile)
"102". */
builtin_define_with_int_value ("__GXX_ABI_VERSION", 102);
else
/* Newer versions have values 1002, 1003, ... */
/* Newer versions have values 1002, 1003, .... */
builtin_define_with_int_value ("__GXX_ABI_VERSION",
1000 + flag_abi_version);

View File

@ -273,7 +273,7 @@ apply_pragma_weak (tree decl, tree value)
}
if (SUPPORTS_WEAK && DECL_EXTERNAL (decl) && TREE_USED (decl)
&& !DECL_WEAK (decl) /* don't complain about a redundant #pragma */
&& !DECL_WEAK (decl) /* Don't complain about a redundant #pragma. */
&& TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (decl)))
warning ("%Japplying #pragma weak '%D' after first use results "
"in unspecified behavior", decl, decl);

View File

@ -4691,7 +4691,7 @@ store_one_arg (struct arg_data *arg, rtx argblock, int flags,
if (XEXP (x, 0) != current_function_internal_arg_pointer)
i = INTVAL (XEXP (XEXP (x, 0), 1));
/* expand_call should ensure this */
/* expand_call should ensure this. */
if (arg->locate.offset.var || GET_CODE (size_rtx) != CONST_INT)
abort ();

View File

@ -2402,7 +2402,7 @@ scan_libraries (const char *prog_name)
if (debug)
fprintf (stderr, "\n");
/* now iterate through the library list adding their symbols to
/* Now iterate through the library list adding their symbols to
the list. */
for (list = libraries.first; list; list = list->next)
scan_prog_file (list->name, PASS_LIB);
@ -2538,7 +2538,7 @@ scan_libraries (const char *prog_name)
signal (SIGQUIT, quit_handler);
#endif
/* now iterate through the library list adding their symbols to
/* Now iterate through the library list adding their symbols to
the list. */
for (list = libraries.first; list; list = list->next)
scan_prog_file (list->name, PASS_LIB);
@ -2705,7 +2705,7 @@ scan_prog_file (const char *prog_name, enum pass which_pass)
char *name;
if ((name = ldgetname (ldptr, &symbol)) == NULL)
continue; /* should never happen */
continue; /* Should never happen. */
#ifdef XCOFF_DEBUGGING_INFO
/* All AIX function names have a duplicate entry

View File

@ -887,7 +887,7 @@ convert_ucn (cpp_reader *pfile, const uchar *from, const uchar *limit,
struct cset_converter cvt
= wide ? pfile->wide_cset_desc : pfile->narrow_cset_desc;
from++; /* skip u/U */
from++; /* Skip u/U. */
ucn = _cpp_valid_ucn (pfile, &from, limit, 0);
rval = one_cppchar_to_utf8 (ucn, &bufp, &bytesleft);
@ -966,7 +966,7 @@ convert_hex (cpp_reader *pfile, const uchar *from, const uchar *limit,
cpp_error (pfile, CPP_DL_WARNING,
"the meaning of '\\x' is different in traditional C");
from++; /* skip 'x' */
from++; /* Skip 'x'. */
while (from < limit)
{
c = *from;
@ -1148,8 +1148,8 @@ cpp_interpret_string (cpp_reader *pfile, const cpp_string *from, size_t count,
{
p = from[i].text;
if (*p == 'L') p++;
p++; /* skip leading quote */
limit = from[i].text + from[i].len - 1; /* skip trailing quote */
p++; /* Skip leading quote. */
limit = from[i].text + from[i].len - 1; /* Skip trailing quote. */
for (;;)
{

View File

@ -361,7 +361,7 @@ _cpp_scan_out_logical_line (cpp_reader *pfile, cpp_macro *macro)
pfile->out.cur = pfile->out.base;
pfile->out.first_line = pfile->line;
/* start_of_input_line is needed to make sure that directives really,
really start at the first character of the line. */
really start at the first character of the line. */
start_of_input_line = pfile->buffer->cur;
new_context:
context = pfile->context;

View File

@ -2349,7 +2349,7 @@ dbxout_symbol (tree decl, int local ATTRIBUTE_UNUSED)
}
else if (TREE_CODE (TREE_TYPE (decl)) == REAL_TYPE)
{
/* don't know how to do this yet. */
/* Don't know how to do this yet. */
}
break;
}

View File

@ -86,7 +86,7 @@ do { fputs (integer_asm_op (POINTER_SIZE / UNITS_PER_WORD, TRUE), FILE); \
} while (0)
#endif
/* choose a reasonable default for ASM_OUTPUT_ASCII. */
/* Choose a reasonable default for ASM_OUTPUT_ASCII. */
#ifndef ASM_OUTPUT_ASCII
#define ASM_OUTPUT_ASCII(MYFILE, MYSTRING, MYLENGTH) \

View File

@ -11916,7 +11916,7 @@ gen_namespace_die (tree decl)
dw_die_ref context_die = setup_namespace_context (decl, comp_unit_die);
/* Namespace aliases have a DECL_ABSTRACT_ORIGIN of the namespace
they are an alias of. */
they are an alias of. */
if (DECL_ABSTRACT_ORIGIN (decl) == NULL)
{
/* Output a real namespace. */

View File

@ -798,7 +798,7 @@ div_and_round_double (enum tree_code code, int uns,
abort ();
}
/* compute true remainder: rem = num - (quo * den) */
/* Compute true remainder: rem = num - (quo * den) */
mul_double (*lquo, *hquo, lden_orig, hden_orig, lrem, hrem);
neg_double (*lrem, *hrem, lrem, hrem);
add_double (lnum_orig, hnum_orig, *lrem, *hrem, lrem, hrem);

View File

@ -8666,7 +8666,7 @@ output_internal_insn_latency_func (void)
{
decl = description->decls[i];
if (DECL_INSN_RESERV (decl)->default_latency > UCHAR_MAX
&& tabletype[0] != 'i') /* don't shrink it */
&& tabletype[0] != 'i') /* Don't shrink it. */
tabletype = "unsigned short";
if (DECL_INSN_RESERV (decl)->default_latency > USHRT_MAX)
tabletype = "int";

View File

@ -35,7 +35,7 @@
#include "hashtab.h"
#include "gensupport.h"
/* so we can include except.h in the generated file */
/* so we can include except.h in the generated file. */
static int saw_eh_return;
static htab_t condition_table;

View File

@ -209,7 +209,7 @@ gen_insn (rtx insn)
max_id_len = len;
if (truth == 0)
/* emit nothing */;
/* Emit nothing. */;
else if (truth == 1)
printf ("#define HAVE_%s 1\n", name);
else

View File

@ -1947,7 +1947,7 @@ write_func_for_structure (type_p orig_s, type_p s, type_p *param,
d.bitmap = s->u.s.bitmap;
d.param = param;
d.prev_val[0] = "*x";
d.prev_val[1] = "not valid postage"; /* guarantee an error */
d.prev_val[1] = "not valid postage"; /* Guarantee an error. */
d.prev_val[3] = "x";
d.val = "(*x)";
@ -2200,7 +2200,7 @@ write_local_func_for_structure (type_p orig_s, type_p s, type_p *param)
d.bitmap = s->u.s.bitmap;
d.param = param;
d.prev_val[0] = d.prev_val[2] = "*x";
d.prev_val[1] = "not valid postage"; /* guarantee an error */
d.prev_val[1] = "not valid postage"; /* Guarantee an error. */
d.prev_val[3] = "x";
d.val = "(*x)";

View File

@ -1421,7 +1421,7 @@ copy_insn_list (rtx insns, struct inline_remap *map, rtx static_chain_value)
gen_rtx_MEM (GET_MODE (static_chain_incoming_rtx),
SET_DEST (set));
/* emit the instruction in case it is used for something
/* Emit the instruction in case it is used for something
other than setting the static chain; if it's not used,
it can always be removed as dead code */
copy = emit_insn (copy_rtx_and_substitute (pattern, map, 0));

View File

@ -8105,7 +8105,7 @@ check_dbra_loop (struct loop *loop, int insn_count)
&& (INTVAL (bl->initial_value)
% (-INTVAL (bl->biv->add_val))) == 0)
{
/* register always nonnegative, add REG_NOTE to branch */
/* Register always nonnegative, add REG_NOTE to branch. */
if (! find_reg_note (jump, REG_NONNEG, NULL_RTX))
REG_NOTES (jump)
= gen_rtx_EXPR_LIST (REG_NONNEG, bl->biv->dest_reg,

View File

@ -468,7 +468,7 @@ estimate_probability (struct loops *loops_info)
/ exits);
}
/* Free basic blocks from get_loop_body. */
/* Free basic blocks from get_loop_body. */
free (bbs);
}

View File

@ -1159,7 +1159,7 @@ sdbout_one_type (tree type)
}
}
/* output the individual fields */
/* Output the individual fields. */
if (TREE_CODE (type) == ENUMERAL_TYPE)
{
@ -1206,7 +1206,7 @@ sdbout_one_type (tree type)
}
PUT_SDB_ENDEF;
}
/* output end of a structure,union, or enumeral definition */
/* Output end of a structure,union, or enumeral definition. */
PUT_SDB_PLAIN_DEF ("eos");
PUT_SDB_INT_VAL (size);