c-common.c: Fix comment formatting.
* 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
This commit is contained in:
parent
1ee93c1b04
commit
59e4e217ae
@ -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.
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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. */
|
||||
|
@ -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
|
||||
|
@ -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. */
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user