c-common.h: Fix comment formatting.
* c-common.h: Fix comment formatting. * c-dump.c: Likewise. * cfg.c: Likewise. * diagnostic.h: Likewise. * except.c: Likewise. * gcc.h: Likewise. * gcov-io.h: Likewise. * genattrtab.c: Likewise. * output.h: Likewise. * predict.h: Likewise. * reload1.c: Likewise. * reload.h: Likewise. * resource.h: Likewise. * scan.h: Likewise. * system.h: Likewise. * tree.h: Likewise. * tree-inline.c: Likewise. * tsystem.h: Likewise. * varasm.c: Likewise. * xcoffout.h: Likewise. From-SVN: r46122
This commit is contained in:
parent
77332b4e0b
commit
2ba84f36ea
21 changed files with 99 additions and 76 deletions
|
@ -1,3 +1,26 @@
|
|||
2001-10-09 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* c-common.h: Fix comment formatting.
|
||||
* c-dump.c: Likewise.
|
||||
* cfg.c: Likewise.
|
||||
* diagnostic.h: Likewise.
|
||||
* except.c: Likewise.
|
||||
* gcc.h: Likewise.
|
||||
* gcov-io.h: Likewise.
|
||||
* genattrtab.c: Likewise.
|
||||
* output.h: Likewise.
|
||||
* predict.h: Likewise.
|
||||
* reload1.c: Likewise.
|
||||
* reload.h: Likewise.
|
||||
* resource.h: Likewise.
|
||||
* scan.h: Likewise.
|
||||
* system.h: Likewise.
|
||||
* tree.h: Likewise.
|
||||
* tree-inline.c: Likewise.
|
||||
* tsystem.h: Likewise.
|
||||
* varasm.c: Likewise.
|
||||
* xcoffout.h: Likewise.
|
||||
|
||||
2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||
|
||||
* doc/gcc.texi: Document preference for "nonzero" over "non-zero".
|
||||
|
|
|
@ -49,7 +49,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|||
enum rid
|
||||
{
|
||||
/* Modifiers: */
|
||||
/* C, in empirical order of frequency. */
|
||||
/* C, in empirical order of frequency. */
|
||||
RID_STATIC = 0,
|
||||
RID_UNSIGNED, RID_LONG, RID_CONST, RID_EXTERN,
|
||||
RID_REGISTER, RID_TYPEDEF, RID_SHORT, RID_INLINE,
|
||||
|
@ -166,7 +166,7 @@ enum c_tree_index
|
|||
CTI_G77_LONGINT_TYPE,
|
||||
CTI_G77_ULONGINT_TYPE,
|
||||
|
||||
/* These are not types, but we have to look them up all the time. */
|
||||
/* These are not types, but we have to look them up all the time. */
|
||||
CTI_FUNCTION_NAME_DECL,
|
||||
CTI_PRETTY_FUNCTION_NAME_DECL,
|
||||
CTI_C99_FUNCTION_NAME_DECL,
|
||||
|
@ -239,7 +239,7 @@ extern tree c_global_trees[CTI_MAX];
|
|||
typedef enum c_language_kind
|
||||
{
|
||||
clk_c, /* A dialect of C: K&R C, ANSI/ISO C89, C2000,
|
||||
etc. */
|
||||
etc. */
|
||||
clk_cplusplus, /* ANSI/ISO C++ */
|
||||
clk_objective_c /* Objective C */
|
||||
}
|
||||
|
@ -368,7 +368,7 @@ extern int flag_short_double;
|
|||
|
||||
extern int flag_short_wchar;
|
||||
|
||||
/* Warn about *printf or *scanf format/argument anomalies. */
|
||||
/* Warn about *printf or *scanf format/argument anomalies. */
|
||||
|
||||
extern int warn_format;
|
||||
|
||||
|
@ -555,18 +555,18 @@ extern tree strip_array_types PARAMS ((tree));
|
|||
|
||||
/* IF_STMT accessors. These give access to the condtion of the if
|
||||
statement, the then block of the if statement, and the else block
|
||||
of the if stsatement if it exists. */
|
||||
of the if stsatement if it exists. */
|
||||
#define IF_COND(NODE) TREE_OPERAND (IF_STMT_CHECK (NODE), 0)
|
||||
#define THEN_CLAUSE(NODE) TREE_OPERAND (IF_STMT_CHECK (NODE), 1)
|
||||
#define ELSE_CLAUSE(NODE) TREE_OPERAND (IF_STMT_CHECK (NODE), 2)
|
||||
|
||||
/* WHILE_STMT accessors. These give access to the condtion of the
|
||||
while statement and the body of the while statement, respectively. */
|
||||
while statement and the body of the while statement, respectively. */
|
||||
#define WHILE_COND(NODE) TREE_OPERAND (WHILE_STMT_CHECK (NODE), 0)
|
||||
#define WHILE_BODY(NODE) TREE_OPERAND (WHILE_STMT_CHECK (NODE), 1)
|
||||
|
||||
/* DO_STMT accessors. These give access to the condition of the do
|
||||
statement and the body of the do statement, respectively. */
|
||||
statement and the body of the do statement, respectively. */
|
||||
#define DO_COND(NODE) TREE_OPERAND (DO_STMT_CHECK (NODE), 0)
|
||||
#define DO_BODY(NODE) TREE_OPERAND (DO_STMT_CHECK (NODE), 1)
|
||||
|
||||
|
@ -576,42 +576,42 @@ extern tree strip_array_types PARAMS ((tree));
|
|||
#define RETURN_EXPR(NODE) TREE_OPERAND (RETURN_STMT_CHECK (NODE), 0)
|
||||
|
||||
/* EXPR_STMT accessor. This gives the expression associated with an
|
||||
expression statement. */
|
||||
expression statement. */
|
||||
#define EXPR_STMT_EXPR(NODE) TREE_OPERAND (EXPR_STMT_CHECK (NODE), 0)
|
||||
|
||||
/* FOR_STMT accessors. These give access to the init statement,
|
||||
condition, update expression, and body of the for statement,
|
||||
respectively. */
|
||||
respectively. */
|
||||
#define FOR_INIT_STMT(NODE) TREE_OPERAND (FOR_STMT_CHECK (NODE), 0)
|
||||
#define FOR_COND(NODE) TREE_OPERAND (FOR_STMT_CHECK (NODE), 1)
|
||||
#define FOR_EXPR(NODE) TREE_OPERAND (FOR_STMT_CHECK (NODE), 2)
|
||||
#define FOR_BODY(NODE) TREE_OPERAND (FOR_STMT_CHECK (NODE), 3)
|
||||
|
||||
/* SWITCH_STMT accessors. These give access to the condition and body
|
||||
of the switch statement, respectively. */
|
||||
of the switch statement, respectively. */
|
||||
#define SWITCH_COND(NODE) TREE_OPERAND (SWITCH_STMT_CHECK (NODE), 0)
|
||||
#define SWITCH_BODY(NODE) TREE_OPERAND (SWITCH_STMT_CHECK (NODE), 1)
|
||||
|
||||
/* CASE_LABEL accessors. These give access to the high and low values
|
||||
of a case label, respectively. */
|
||||
of a case label, respectively. */
|
||||
#define CASE_LOW(NODE) TREE_OPERAND (CASE_LABEL_CHECK (NODE), 0)
|
||||
#define CASE_HIGH(NODE) TREE_OPERAND (CASE_LABEL_CHECK (NODE), 1)
|
||||
#define CASE_LABEL_DECL(NODE) TREE_OPERAND (CASE_LABEL_CHECK (NODE), 2)
|
||||
|
||||
/* GOTO_STMT accessor. This gives access to the label associated with
|
||||
a goto statement. */
|
||||
a goto statement. */
|
||||
#define GOTO_DESTINATION(NODE) TREE_OPERAND (GOTO_STMT_CHECK (NODE), 0)
|
||||
|
||||
/* COMPOUND_STMT accessor. This gives access to the TREE_LIST of
|
||||
statements assocated with a compound statement. The result is the
|
||||
first statement in the list. Succeeding nodes can be acccessed by
|
||||
calling TREE_CHAIN on a node in the list. */
|
||||
calling TREE_CHAIN on a node in the list. */
|
||||
#define COMPOUND_BODY(NODE) TREE_OPERAND (COMPOUND_STMT_CHECK (NODE), 0)
|
||||
|
||||
/* ASM_STMT accessors. ASM_STRING returns a STRING_CST for the
|
||||
instruction (e.g., "mov x, y"). ASM_OUTPUTS, ASM_INPUTS, and
|
||||
ASM_CLOBBERS represent the outputs, inputs, and clobbers for the
|
||||
statement. */
|
||||
statement. */
|
||||
#define ASM_CV_QUAL(NODE) TREE_OPERAND (ASM_STMT_CHECK (NODE), 0)
|
||||
#define ASM_STRING(NODE) TREE_OPERAND (ASM_STMT_CHECK (NODE), 1)
|
||||
#define ASM_OUTPUTS(NODE) TREE_OPERAND (ASM_STMT_CHECK (NODE), 2)
|
||||
|
@ -619,14 +619,14 @@ extern tree strip_array_types PARAMS ((tree));
|
|||
#define ASM_CLOBBERS(NODE) TREE_OPERAND (ASM_STMT_CHECK (NODE), 4)
|
||||
|
||||
/* DECL_STMT accessor. This gives access to the DECL associated with
|
||||
the given declaration statement. */
|
||||
the given declaration statement. */
|
||||
#define DECL_STMT_DECL(NODE) TREE_OPERAND (DECL_STMT_CHECK (NODE), 0)
|
||||
|
||||
/* STMT_EXPR accessor. */
|
||||
/* STMT_EXPR accessor. */
|
||||
#define STMT_EXPR_STMT(NODE) TREE_OPERAND (STMT_EXPR_CHECK (NODE), 0)
|
||||
|
||||
/* LABEL_STMT accessor. This gives access to the label associated with
|
||||
the given label statement. */
|
||||
the given label statement. */
|
||||
#define LABEL_STMT_LABEL(NODE) TREE_OPERAND (LABEL_STMT_CHECK (NODE), 0)
|
||||
|
||||
/* Nonzero if this SCOPE_STMT is for the beginning of a scope. */
|
||||
|
@ -682,7 +682,7 @@ extern tree strip_array_types PARAMS ((tree));
|
|||
(TREE_LANG_FLAG_2 ((NODE)))
|
||||
|
||||
/* Nonzero if we want the new ISO rules for pushing a new scope for `for'
|
||||
initialization variables. */
|
||||
initialization variables. */
|
||||
#define NEW_FOR_SCOPE_P(NODE) (TREE_LANG_FLAG_0 (NODE))
|
||||
|
||||
/* Nonzero if we want to create an ASM_INPUT instead of an
|
||||
|
@ -825,7 +825,7 @@ enum tree_dump_index
|
|||
TDI_original, /* dump each function before optimizing it */
|
||||
TDI_optimized, /* dump each function after optimizing it */
|
||||
TDI_inlined, /* dump each function after inlining
|
||||
within it. */
|
||||
within it. */
|
||||
TDI_end
|
||||
};
|
||||
|
||||
|
|
|
@ -806,7 +806,7 @@ static struct dump_file_info dump_files[TDI_end] =
|
|||
{".inlined", "dump-tree-inlined", 0, 0},
|
||||
};
|
||||
|
||||
/* Define a name->number mapping for a dump flag value. */
|
||||
/* Define a name->number mapping for a dump flag value. */
|
||||
struct dump_option_value_info
|
||||
{
|
||||
const char *const name; /* the name of the value */
|
||||
|
|
|
@ -210,7 +210,7 @@ expunge_block (b)
|
|||
}
|
||||
|
||||
/* Create an edge connecting SRC and DST with FLAGS optionally using
|
||||
edge cache CACHE. Return the new edge, NULL if already exist. */
|
||||
edge cache CACHE. Return the new edge, NULL if already exist. */
|
||||
|
||||
edge
|
||||
cached_make_edge (edge_cache, src, dst, flags)
|
||||
|
|
|
@ -55,7 +55,7 @@ typedef enum
|
|||
|
||||
/* The type of front-end specific hook that formats trees into an
|
||||
output_buffer. A language specific printer returns a truth value if
|
||||
everything goes well. */
|
||||
everything goes well. */
|
||||
typedef int (*printer_fn) PARAMS ((output_buffer *));
|
||||
|
||||
/* This data structure encapsulates an output_buffer's state. */
|
||||
|
@ -69,7 +69,7 @@ typedef struct
|
|||
int maximum_length;
|
||||
|
||||
/* The ideal upper bound of number of characters per line, as suggested
|
||||
by front-end. */
|
||||
by front-end. */
|
||||
int ideal_maximum_length;
|
||||
|
||||
/* Indentation count. */
|
||||
|
@ -234,7 +234,7 @@ struct diagnostic_context
|
|||
((output_buffer *)(DC))->state.prefixing_rule
|
||||
|
||||
/* Maximum characters per line in automatic line wrapping mode.
|
||||
Zero means don't wrap lines. */
|
||||
Zero means don't wrap lines. */
|
||||
#define diagnostic_line_cutoff(DC) \
|
||||
((output_buffer *)(DC))->state.ideal_maximum_length
|
||||
|
||||
|
|
|
@ -1913,7 +1913,7 @@ dw2_build_landing_pads ()
|
|||
/* @@@ This is a kludge. Not all machine descriptions define a
|
||||
blockage insn, but we must not allow the code we just generated
|
||||
to be reordered by scheduling. So emit an ASM_INPUT to act as
|
||||
blockage insn. */
|
||||
blockage insn. */
|
||||
emit_insn (gen_rtx_ASM_INPUT (VOIDmode, ""));
|
||||
}
|
||||
|
||||
|
|
10
gcc/gcc.h
10
gcc/gcc.h
|
@ -23,7 +23,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|||
|
||||
#include "version.h"
|
||||
|
||||
/* These are exported by gcc.c. */
|
||||
/* These are exported by gcc.c. */
|
||||
extern int do_spec PARAMS ((const char *));
|
||||
extern void record_temp_file PARAMS ((const char *, int, int));
|
||||
extern void fancy_abort PARAMS ((void)) ATTRIBUTE_NORETURN;
|
||||
|
@ -34,17 +34,17 @@ extern void fatal PARAMS ((const char *, ...))
|
|||
extern void error PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1;
|
||||
extern void pfatal_with_name PARAMS ((const char *)) ATTRIBUTE_NORETURN;
|
||||
|
||||
/* Spec files linked with gcc.c must provide definitions for these. */
|
||||
/* Spec files linked with gcc.c must provide definitions for these. */
|
||||
|
||||
/* Called before processing to change/add/remove arguments. */
|
||||
/* Called before processing to change/add/remove arguments. */
|
||||
extern void lang_specific_driver PARAMS ((int *, const char *const **, int *));
|
||||
|
||||
/* Called before linking. Returns 0 on success and -1 on failure. */
|
||||
/* Called before linking. Returns 0 on success and -1 on failure. */
|
||||
extern int lang_specific_pre_link PARAMS ((void));
|
||||
|
||||
extern int n_infiles;
|
||||
|
||||
/* Number of extra output files that lang_specific_pre_link may generate. */
|
||||
/* Number of extra output files that lang_specific_pre_link may generate. */
|
||||
extern int lang_specific_extra_outfiles;
|
||||
|
||||
/* A vector of corresponding output files is made up later. */
|
||||
|
|
|
@ -32,11 +32,11 @@ static int __store_gcov_type PARAMS ((gcov_type, char *, size_t)) ATTRIBUTE_UNUS
|
|||
static int __read_gcov_type PARAMS ((gcov_type *, FILE *, size_t)) ATTRIBUTE_UNUSED;
|
||||
static int __write_gcov_type PARAMS ((gcov_type, FILE *, size_t)) ATTRIBUTE_UNUSED;
|
||||
|
||||
/* These routines only work for signed values. */
|
||||
/* These routines only work for signed values. */
|
||||
|
||||
/* Store a portable representation of VALUE in DEST using BYTES*8-1 bits.
|
||||
Return a non-zero value if VALUE requires more than BYTES*8-1 bits
|
||||
to store. */
|
||||
to store. */
|
||||
|
||||
static int
|
||||
__store_gcov_type (value, dest, bytes)
|
||||
|
@ -71,7 +71,7 @@ __store_gcov_type (value, dest, bytes)
|
|||
|
||||
/* Retrieve a quantity containing BYTES*8-1 bits from SOURCE and store
|
||||
the result in DEST. Returns a non-zero value if the value in SOURCE
|
||||
will not fit in DEST. */
|
||||
will not fit in DEST. */
|
||||
|
||||
static int
|
||||
__fetch_gcov_type (dest, source, bytes)
|
||||
|
@ -126,7 +126,7 @@ __fetch_long (dest, source, bytes)
|
|||
Note that VALUE may not actually be large enough to hold BYTES*8
|
||||
bits, but BYTES characters will be written anyway.
|
||||
|
||||
BYTES may be a maximum of 10. */
|
||||
BYTES may be a maximum of 10. */
|
||||
|
||||
static int
|
||||
__write_gcov_type (value, file, bytes)
|
||||
|
@ -163,7 +163,7 @@ __write_long (value, file, bytes)
|
|||
Note that DEST may not be large enough to hold all of the requested
|
||||
data, but the function will read BYTES characters anyway.
|
||||
|
||||
BYTES may be a maximum of 10. */
|
||||
BYTES may be a maximum of 10. */
|
||||
|
||||
static int
|
||||
__read_gcov_type (dest, file, bytes)
|
||||
|
|
|
@ -751,7 +751,7 @@ attr_printf VPARAMS ((register unsigned int len, const char *fmt, ...))
|
|||
VA_FIXEDARG (p, unsigned int, len);
|
||||
VA_FIXEDARG (p, const char *, fmt);
|
||||
|
||||
if (len > sizeof str - 1) /* leave room for \0. */
|
||||
if (len > sizeof str - 1) /* Leave room for \0. */
|
||||
abort ();
|
||||
|
||||
vsprintf (str, fmt, p);
|
||||
|
|
|
@ -163,7 +163,7 @@ extern void force_data_section PARAMS ((void));
|
|||
the text section. */
|
||||
extern void readonly_data_section PARAMS ((void));
|
||||
|
||||
/* Determine if we're in the text section. */
|
||||
/* Determine if we're in the text section. */
|
||||
extern int in_text_section PARAMS ((void));
|
||||
|
||||
#ifdef CTORS_SECTION_ASM_OP
|
||||
|
@ -394,7 +394,7 @@ extern const char *weak_global_object_name;
|
|||
/* Nonzero if function being compiled doesn't contain any calls
|
||||
(ignoring the prologue and epilogue). This is set prior to
|
||||
local register allocation and is valid for the remaining
|
||||
compiler passes. */
|
||||
compiler passes. */
|
||||
|
||||
extern int current_function_is_leaf;
|
||||
|
||||
|
@ -405,7 +405,7 @@ extern int current_function_nothrow;
|
|||
|
||||
/* Nonzero if function being compiled doesn't modify the stack pointer
|
||||
(ignoring the prologue and epilogue). This is only valid after
|
||||
life_analysis has run. */
|
||||
life_analysis has run. */
|
||||
|
||||
extern int current_function_sp_is_unchanging;
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ enum br_predictor
|
|||
{
|
||||
#include "predict.def"
|
||||
|
||||
/* Upper bound on non-language-specific builtins. */
|
||||
/* Upper bound on non-language-specific builtins. */
|
||||
END_PREDICTORS
|
||||
};
|
||||
#undef DEF_PREDICTOR
|
||||
|
|
|
@ -278,7 +278,7 @@ extern int remove_address_replacements PARAMS ((rtx in_rtx));
|
|||
autoincrement and autodecrement. */
|
||||
extern int operands_match_p PARAMS ((rtx, rtx));
|
||||
|
||||
/* Return 1 if altering OP will not modify the value of CLOBBER. */
|
||||
/* Return 1 if altering OP will not modify the value of CLOBBER. */
|
||||
extern int safe_from_earlyclobber PARAMS ((rtx, rtx));
|
||||
|
||||
/* Search the body of INSN for values that need reloading and record them
|
||||
|
|
|
@ -790,7 +790,7 @@ reload (first, global)
|
|||
{
|
||||
/* Always unshare the equivalence, so we can
|
||||
substitute into this insn without touching the
|
||||
equivalence. */
|
||||
equivalence. */
|
||||
reg_equiv_memory_loc[i] = copy_rtx (x);
|
||||
}
|
||||
else if (function_invariant_p (x))
|
||||
|
|
|
@ -23,7 +23,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|||
do { (RES)->memory = (RES)->unch_memory = (RES)->volatil = (RES)->cc = 0; \
|
||||
CLEAR_HARD_REG_SET ((RES)->regs); } while (0)
|
||||
|
||||
/* The resources used by a given insn. */
|
||||
/* The resources used by a given insn. */
|
||||
struct resources
|
||||
{
|
||||
char memory; /* Insn sets or needs a memory location. */
|
||||
|
|
|
@ -68,7 +68,7 @@ extern unsigned int hashstr _PARAMS((const char *, unsigned int));
|
|||
struct cpp_reader;
|
||||
extern int scan_decls _PARAMS((struct cpp_reader *, int, char **));
|
||||
|
||||
/* get_token is a simple C lexer. */
|
||||
/* get_token is a simple C lexer. */
|
||||
#define IDENTIFIER_TOKEN 300
|
||||
#define CHAR_TOKEN 301
|
||||
#define STRING_TOKEN 302
|
||||
|
|
10
gcc/system.h
10
gcc/system.h
|
@ -28,7 +28,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|||
not under control of the preprocessor. */
|
||||
#define GCCBUGURL "<URL:http://www.gnu.org/software/gcc/bugs.html>"
|
||||
|
||||
/* We must include stdarg.h/varargs.h before stdio.h. */
|
||||
/* We must include stdarg.h/varargs.h before stdio.h. */
|
||||
#ifdef ANSI_PROTOTYPES
|
||||
#include <stdarg.h>
|
||||
#else
|
||||
|
@ -313,7 +313,7 @@ extern PTR realloc PARAMS ((PTR, size_t));
|
|||
#endif
|
||||
|
||||
/* If the system doesn't provide strsignal, we get it defined in
|
||||
libiberty but no declaration is supplied. */
|
||||
libiberty but no declaration is supplied. */
|
||||
#ifndef HAVE_STRSIGNAL
|
||||
# ifndef strsignal
|
||||
extern const char *strsignal PARAMS ((int));
|
||||
|
@ -343,7 +343,7 @@ extern int setrlimit PARAMS ((int, const struct rlimit *));
|
|||
#endif
|
||||
|
||||
/* HAVE_VOLATILE only refers to the stage1 compiler. We also check
|
||||
__STDC__ and assume gcc sets it and has volatile in stage >=2. */
|
||||
__STDC__ and assume gcc sets it and has volatile in stage >=2. */
|
||||
#if !defined(HAVE_VOLATILE) && !defined(__STDC__) && !defined(volatile)
|
||||
#define volatile
|
||||
#endif
|
||||
|
@ -428,7 +428,7 @@ extern void abort PARAMS ((void));
|
|||
# define STDERR_FILENO 2
|
||||
#endif
|
||||
|
||||
/* Some systems have mkdir that takes a single argument. */
|
||||
/* Some systems have mkdir that takes a single argument. */
|
||||
#ifdef MKDIR_TAKES_ONE_ARG
|
||||
# define mkdir(a,b) mkdir(a)
|
||||
#endif
|
||||
|
@ -474,7 +474,7 @@ extern void abort PARAMS ((void));
|
|||
(IS_DIR_SEPARATOR ((STR)[0]) || (STR)[0] == '$')
|
||||
#endif
|
||||
|
||||
/* Get libiberty declarations. */
|
||||
/* Get libiberty declarations. */
|
||||
#include "libiberty.h"
|
||||
#include "symcat.h"
|
||||
|
||||
|
|
|
@ -164,7 +164,7 @@ remap_decl (decl, id)
|
|||
{
|
||||
/* For a VAR_DECL of anonymous type, we must also copy the
|
||||
member VAR_DECLS here and rechain the
|
||||
DECL_ANON_UNION_ELEMS. */
|
||||
DECL_ANON_UNION_ELEMS. */
|
||||
tree members = NULL;
|
||||
tree src;
|
||||
|
||||
|
@ -1093,10 +1093,10 @@ walk_tree (tp, func, data, htab_)
|
|||
void **slot;
|
||||
|
||||
/* Don't walk the same tree twice, if the user has requested
|
||||
that we avoid doing so. */
|
||||
that we avoid doing so. */
|
||||
if (htab_find (htab, *tp))
|
||||
return NULL_TREE;
|
||||
/* If we haven't already seen this node, add it to the table. */
|
||||
/* If we haven't already seen this node, add it to the table. */
|
||||
slot = htab_find_slot (htab, *tp, INSERT);
|
||||
*slot = *tp;
|
||||
}
|
||||
|
|
30
gcc/tree.h
30
gcc/tree.h
|
@ -85,7 +85,7 @@ enum built_in_function
|
|||
{
|
||||
#include "builtins.def"
|
||||
|
||||
/* Upper bound on non-language-specific builtins. */
|
||||
/* Upper bound on non-language-specific builtins. */
|
||||
END_BUILTINS
|
||||
};
|
||||
#undef DEF_BUILTIN
|
||||
|
@ -393,7 +393,7 @@ extern void tree_class_check_failed PARAMS ((const tree, int,
|
|||
|| (TREE_CODE (TYPE) == COMPLEX_TYPE \
|
||||
&& TREE_CODE (TREE_TYPE (TYPE)) == REAL_TYPE))
|
||||
|
||||
/* Nonzero if TYPE represents an aggregate (multi-component) type. */
|
||||
/* Nonzero if TYPE represents an aggregate (multi-component) type. */
|
||||
|
||||
#define AGGREGATE_TYPE_P(TYPE) \
|
||||
(TREE_CODE (TYPE) == ARRAY_TYPE || TREE_CODE (TYPE) == RECORD_TYPE \
|
||||
|
@ -989,7 +989,7 @@ struct tree_block
|
|||
type node. You then set the TYPE_STUB_DECL field of the type node
|
||||
to point back at the TYPE_DECL node. This allows the debug routines
|
||||
to know that the two nodes represent the same type, so that we only
|
||||
get one debug info record for them. */
|
||||
get one debug info record for them. */
|
||||
#define TYPE_STUB_DECL(NODE) (TREE_CHAIN (NODE))
|
||||
|
||||
/* In a RECORD_TYPE, UNION_TYPE or QUAL_UNION_TYPE, it means the type
|
||||
|
@ -1067,11 +1067,11 @@ struct tree_block
|
|||
|
||||
/* If set in an ARRAY_TYPE, indicates a string type (for languages
|
||||
that distinguish string from array of char).
|
||||
If set in a SET_TYPE, indicates a bitstring type. */
|
||||
If set in a SET_TYPE, indicates a bitstring type. */
|
||||
#define TYPE_STRING_FLAG(NODE) (TYPE_CHECK (NODE)->type.string_flag)
|
||||
|
||||
/* If non-NULL, this is an upper bound of the size (in bytes) of an
|
||||
object of the given ARRAY_TYPE. This allows temporaries to be allocated. */
|
||||
object of the given ARRAY_TYPE. This allows temporaries to be allocated. */
|
||||
#define TYPE_ARRAY_MAX_SIZE(ARRAY_TYPE) TYPE_MAX_VALUE (ARRAY_TYPE)
|
||||
|
||||
/* For a VECTOR_TYPE, this is the number of sub-parts of the vector. */
|
||||
|
@ -1477,7 +1477,7 @@ struct tree_type
|
|||
/* Nonzero for any sort of ..._DECL node means this decl node represents an
|
||||
inline instance of some original (abstract) decl from an inline function;
|
||||
suppress any warnings about shadowing some other variable. FUNCTION_DECL
|
||||
nodes can also have their abstract origin set to themselves. */
|
||||
nodes can also have their abstract origin set to themselves. */
|
||||
#define DECL_FROM_INLINE(NODE) (DECL_ABSTRACT_ORIGIN (NODE) != (tree) 0 \
|
||||
&& DECL_ABSTRACT_ORIGIN (NODE) != (NODE))
|
||||
|
||||
|
@ -1511,7 +1511,7 @@ struct tree_type
|
|||
#define DECL_EXTERNAL(NODE) (DECL_CHECK (NODE)->decl.external_flag)
|
||||
|
||||
/* In a VAR_DECL for a RECORD_TYPE, sets number for non-init_priority
|
||||
initializatons. */
|
||||
initializatons. */
|
||||
#define DEFAULT_INIT_PRIORITY 65535
|
||||
#define MAX_INIT_PRIORITY 65535
|
||||
#define MAX_RESERVED_INIT_PRIORITY 100
|
||||
|
@ -1519,7 +1519,7 @@ struct tree_type
|
|||
/* In a TYPE_DECL
|
||||
nonzero means the detail info about this type is not dumped into stabs.
|
||||
Instead it will generate cross reference ('x') of names.
|
||||
This uses the same flag as DECL_EXTERNAL. */
|
||||
This uses the same flag as DECL_EXTERNAL. */
|
||||
#define TYPE_DECL_SUPPRESS_DEBUG(NODE) \
|
||||
(TYPE_DECL_CHECK (NODE)->decl.external_flag)
|
||||
|
||||
|
@ -2089,7 +2089,7 @@ extern tree make_tree PARAMS ((tree, rtx));
|
|||
is ATTRIBUTE.
|
||||
|
||||
Such modified types already made are recorded so that duplicates
|
||||
are not made. */
|
||||
are not made. */
|
||||
|
||||
extern tree build_type_attribute_variant PARAMS ((tree, tree));
|
||||
extern tree build_decl_attribute_variant PARAMS ((tree, tree));
|
||||
|
@ -2331,8 +2331,8 @@ extern HOST_WIDE_INT int_byte_position PARAMS ((tree));
|
|||
|
||||
enum size_type_kind
|
||||
{
|
||||
SIZETYPE, /* Normal representation of sizes in bytes. */
|
||||
SSIZETYPE, /* Signed representation of sizes in bytes. */
|
||||
SIZETYPE, /* Normal representation of sizes in bytes. */
|
||||
SSIZETYPE, /* Signed representation of sizes in bytes. */
|
||||
USIZETYPE, /* Unsigned representation of sizes in bytes. */
|
||||
BITSIZETYPE, /* Normal representation of sizes in bits. */
|
||||
SBITSIZETYPE, /* Signed representation of sizes in bits. */
|
||||
|
@ -2374,10 +2374,10 @@ extern void put_pending_sizes PARAMS ((tree));
|
|||
+ (BITS_PER_UNIT > 8) + (BITS_PER_UNIT > 16) + (BITS_PER_UNIT > 32) \
|
||||
+ (BITS_PER_UNIT > 64) + (BITS_PER_UNIT > 128) + (BITS_PER_UNIT > 256))
|
||||
|
||||
/* If nonzero, an upper limit on alignment of structure fields, in bits. */
|
||||
/* If nonzero, an upper limit on alignment of structure fields, in bits. */
|
||||
extern unsigned int maximum_field_alignment;
|
||||
|
||||
/* If non-zero, the alignment of a bitstring or (power-)set value, in bits. */
|
||||
/* If non-zero, the alignment of a bitstring or (power-)set value, in bits. */
|
||||
extern unsigned int set_alignment;
|
||||
|
||||
/* Concatenate two lists (chains of TREE_LIST nodes) X and Y
|
||||
|
@ -2617,7 +2617,7 @@ extern int pedantic_lvalues;
|
|||
|
||||
extern int immediate_size_expand;
|
||||
|
||||
/* Points to the FUNCTION_DECL of the function whose body we are reading. */
|
||||
/* Points to the FUNCTION_DECL of the function whose body we are reading. */
|
||||
|
||||
extern tree current_function_decl;
|
||||
|
||||
|
@ -2778,7 +2778,7 @@ extern void init_lex PARAMS ((void));
|
|||
/* Function of no arguments for initializing the symbol table. */
|
||||
extern void init_decl_processing PARAMS ((void));
|
||||
|
||||
/* Function to identify which front-end produced the output file. */
|
||||
/* Function to identify which front-end produced the output file. */
|
||||
extern const char *lang_identify PARAMS ((void));
|
||||
|
||||
/* Function to replace the DECL_LANG_SPECIFIC field of a DECL with a copy. */
|
||||
|
|
|
@ -33,7 +33,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|||
#define HAVE_DECL_GETOPT 1
|
||||
#endif
|
||||
|
||||
/* GCC supplies this header. */
|
||||
/* GCC supplies this header. */
|
||||
#include <stddef.h>
|
||||
|
||||
#ifdef inhibit_libc
|
||||
|
@ -56,16 +56,16 @@ extern int atexit (void (*)(void));
|
|||
/* ??? This is not a good solution, since prototypes may be required in
|
||||
some cases for correct code. */
|
||||
|
||||
/* GCC supplies this header. */
|
||||
/* GCC supplies this header. */
|
||||
#include <stdarg.h>
|
||||
|
||||
/* All systems have this header. */
|
||||
/* All systems have this header. */
|
||||
#include <stdio.h>
|
||||
|
||||
/* All systems have this header. */
|
||||
/* All systems have this header. */
|
||||
#include <sys/types.h>
|
||||
|
||||
/* All systems have this header. */
|
||||
/* All systems have this header. */
|
||||
#include <errno.h>
|
||||
|
||||
#ifndef errno
|
||||
|
@ -76,11 +76,11 @@ extern int errno;
|
|||
#include <string.h>
|
||||
#endif
|
||||
|
||||
/* GCC (fixproto) guarantees these system headers exist. */
|
||||
/* GCC (fixproto) guarantees these system headers exist. */
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
/* GCC supplies this header. */
|
||||
/* GCC supplies this header. */
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef POSIX
|
||||
|
|
|
@ -343,7 +343,7 @@ get_named_section_flags (section)
|
|||
|
||||
/* Returns true if the section has been declared before. Sets internal
|
||||
flag on this section in in_named_hash so subsequent calls on this
|
||||
section will return false. */
|
||||
section will return false. */
|
||||
|
||||
bool
|
||||
named_section_first_declaration (name)
|
||||
|
|
|
@ -195,7 +195,7 @@ extern const char *xcoff_lastfile;
|
|||
|
||||
#define DEBUG_SYMS_TEXT
|
||||
|
||||
/* Prototype functions in xcoffout.c. */
|
||||
/* Prototype functions in xcoffout.c. */
|
||||
|
||||
extern int stab_to_sclass PARAMS ((int));
|
||||
#ifdef BUFSIZ
|
||||
|
|
Loading…
Add table
Reference in a new issue