diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c06eb689f5c..e8b07d52e4d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,26 @@ +2002-12-19 Kazu Hirata + + * ChangeLog: Follow spelling conventions. + * ChangeLog.2: Likewise. + * ChangeLog.4: Likewise. + * ChangeLog.5: Likewise. + * cppexp.c: Likewise. + * df.c: Likewise. + * gcov.c: Likewise. + * gengtype.c: Likewise. + * reload1.c: Likewise. + * sched-rgn.c: Likewise. + * stmt.c: Likewise. + * stor-layout.c: Likewise. + * timevar.c: Likewise. + * toplev.c: Likewise. + * tree.h: Likewise. + * varasm.c: Likewise. + * config/fr30/fr30.md: Likewise. + * config/i386/i386.c: Likewise. + * config/ia64/ia64.c: Likewise. + * config/pa/pa.c: Likewise. + 2002-12-18 Roger Sayle * basic-block.h (flow_bb_inside_loop_p): Correct prototype. @@ -3068,7 +3091,7 @@ Tue Oct 29 19:32:16 CET 2002 Jan Hubicka (sched_get_priority_max, sched_get_priority_min) (pthread_getschedparam, pthread_setschedparam): Only use if _POSIX_THREAD_PRIORITY_SCHEDULING is defined. - (__gthread_objc_thread_set_priority): Don't treat all non-zero + (__gthread_objc_thread_set_priority): Don't treat all nonzero returns from sched_get_priority_max and sched_get_priority_min as an error. @@ -5022,7 +5045,7 @@ Thu Oct 3 23:20:58 CEST 2002 Jan Hubicka (multilib_os_dir): New variable. (static_specs): Add multilib_options. (find_a_file): Add multilib argument. Search in GCC or OS multilib - subdirs if non-zero. + subdirs if nonzero. (read_specs, execute): Update callers. (find_file): Likewise. Don't prefix name with multilib_dir, instead pass 1 as multilib option. diff --git a/gcc/ChangeLog.2 b/gcc/ChangeLog.2 index a7cff363cd6..7a624fb4930 100644 --- a/gcc/ChangeLog.2 +++ b/gcc/ChangeLog.2 @@ -10855,7 +10855,7 @@ Fri Aug 13 15:20:43 1999 Gerald Pfeifer Fri Aug 13 10:21:28 1999 Nick Clifton * toplev.c (rest_of_compilation): Allow machine dependent - reorganisation pass to place information into the RTL dump + reorganization pass to place information into the RTL dump file if it so wishes. Sun Aug 15 12:41:21 1999 Jim Wilson diff --git a/gcc/ChangeLog.4 b/gcc/ChangeLog.4 index ac0f7e0ffd0..25546c471dc 100644 --- a/gcc/ChangeLog.4 +++ b/gcc/ChangeLog.4 @@ -14230,7 +14230,7 @@ Fri Jul 14 10:25:53 2000 Clinton Popetz (cpp_pop_buffer): Use _cpp_pop_file_buffer. * cpplex.c: Move all prototypes and structure declarations to the - top of the file. Properly parenthesise some macro arguments. + top of the file. Properly parenthesize some macro arguments. (cpp_scan_line): New function. (special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth, don't need to walk up the stack counting. diff --git a/gcc/ChangeLog.5 b/gcc/ChangeLog.5 index 9bd21c1a544..e5c26cc1cd2 100644 --- a/gcc/ChangeLog.5 +++ b/gcc/ChangeLog.5 @@ -3283,7 +3283,7 @@ Sat May 19 18:23:04 2001 Richard Henderson * c-parse.in (parm_declarator): Split into parm_declarator_starttypename and parm_declarator_nostarttypename. (parm_declarator_starttypename, parm_declarator_nostarttypename): - New. Allow parenthesised sub-declarators which don't begin with a + New. Allow parenthesized sub-declarators which don't begin with a TYPENAME. Fixes PR c/166. 2001-05-19 Mark Mitchell diff --git a/gcc/config/fr30/fr30.md b/gcc/config/fr30/fr30.md index b19f6558057..8ba00cce8e9 100644 --- a/gcc/config/fr30/fr30.md +++ b/gcc/config/fr30/fr30.md @@ -1166,7 +1166,7 @@ ;; from pc + 2, we increase the offset to 258. ;; ;; Note - we do not have to worry about whether the branch is delayed or -;; not, as branch shortening happens after delay slot reorganisation. +;; not, as branch shortening happens after delay slot reorganization. (define_insn "*branch_true" [(set (pc) diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 2eaa1c54875..b12a7f2323b 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -14467,7 +14467,7 @@ x86_can_output_mi_thunk (thunk, delta, vcall_offset, function) /* Output the assembler code for a thunk function. THUNK_DECL is the declaration for the thunk function itself, FUNCTION is the decl for the target function. DELTA is an immediate constant offset to be - added to THIS. If VCALL_OFFSET is non-zero, the word at + added to THIS. If VCALL_OFFSET is nonzero, the word at *(*this + vcall_offset) should be added to THIS. */ static void diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index dd7b6d7350a..96e12b402fd 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -8223,7 +8223,7 @@ ia64_aix_select_rtx_section (mode, x, align) /* Output the assembler code for a thunk function. THUNK_DECL is the declaration for the thunk function itself, FUNCTION is the decl for the target function. DELTA is an immediate constant offset to be - added to THIS. If VCALL_OFFSET is non-zero, the word at + added to THIS. If VCALL_OFFSET is nonzero, the word at *(*this + vcall_offset) should be added to THIS. */ static void diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index ccb37d24d07..7ba4f7bbcfa 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -6223,7 +6223,7 @@ output_millicode_call (insn, call_dest) /* Handle the common case where we are sure that the branch will reach the beginning of the $CODE$ subspace. The within reach form of the $$sh_func_adrs call has a length of 28. Because - it has an attribute type of multi, it never has a non-zero + it has an attribute type of multi, it never has a nonzero sequence length. The length of the $$sh_func_adrs is the same as certain out of reach PIC calls to other routines. */ if (!TARGET_LONG_CALLS diff --git a/gcc/cppexp.c b/gcc/cppexp.c index f3996627883..202b2d01a59 100644 --- a/gcc/cppexp.c +++ b/gcc/cppexp.c @@ -633,7 +633,7 @@ already on the stack. The remaining cases are '(' and ')'. We handle '(' by skipping the reduction phase completely. ')' is given lower priority than everything else, including '(', effectively forcing a reduction of the -parenthesised expression. If there is a matching '(', the routine +parenthesized expression. If there is a matching '(', the routine reduce() exits immediately. If the normal exit route sees a ')', then there cannot have been a matching '(' and an error message is output. diff --git a/gcc/df.c b/gcc/df.c index 994f15b7676..40358de80aa 100644 --- a/gcc/df.c +++ b/gcc/df.c @@ -148,10 +148,10 @@ Similarly, should the first entry in the use list be the last use 5) Working with a sub-CFG. -Often the whole CFG does not need to be analysed, for example, +Often the whole CFG does not need to be analyzed, for example, when optimising a loop, only certain registers are of interest. Perhaps there should be a bitmap argument to df_analyse to specify - which registers should be analysed? */ + which registers should be analyzed? */ #include "config.h" #include "system.h" @@ -2317,7 +2317,7 @@ df_modified_p (df, blocks) } -/* Analyse dataflow info for the basic blocks specified by the bitmap +/* Analyze dataflow info for the basic blocks specified by the bitmap BLOCKS, or for the whole CFG if BLOCKS is zero, or just for the modified blocks if BLOCKS is -1. */ int diff --git a/gcc/gcov.c b/gcc/gcov.c index b90d9576887..946a3a80a93 100644 --- a/gcc/gcov.c +++ b/gcc/gcov.c @@ -597,7 +597,7 @@ create_file_names (file_name) return; } -/* Read the graph file. Return non-zero on fatal error. */ +/* Read the graph file. Return nonzero on fatal error. */ static int read_graph_file () @@ -851,7 +851,7 @@ read_graph_file () } /* Reads profiles from the count file and attach to each - function. Return non-zero if fatal error. */ + function. Return nonzero if fatal error. */ static int read_count_file () diff --git a/gcc/gengtype.c b/gcc/gengtype.c index 79542e6a621..855e5edfe96 100644 --- a/gcc/gengtype.c +++ b/gcc/gengtype.c @@ -254,8 +254,8 @@ find_structure (name, isunion) return s; } -/* Return the previously-defined parameterised structure for structure - T and parameters PARAM, or a new parameterised empty structure or +/* Return the previously-defined parameterized structure for structure + T and parameters PARAM, or a new parameterized empty structure or union if none was defined previously. */ static type_p diff --git a/gcc/reload1.c b/gcc/reload1.c index ef4deb94426..8e09c101511 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -305,7 +305,7 @@ struct elim_table int from; /* Register number to be eliminated. */ int to; /* Register number used as replacement. */ int initial_offset; /* Initial difference between values. */ - int can_eliminate; /* Non-zero if this elimination can be done. */ + int can_eliminate; /* Nonzero if this elimination can be done. */ int can_eliminate_previous; /* Value of CAN_ELIMINATE in previous scan over insns made by reload. */ int offset; /* Current offset between the two regs. */ @@ -5935,7 +5935,7 @@ choose_reload_regs (chain) if (reload_override_in[j]) rld[j].in = reload_override_in[j]; - /* If this reload won't be done because it has been cancelled or is + /* If this reload won't be done because it has been canceled or is optional and not inherited, clear reload_reg_rtx so other routines (such as subst_reloads) don't get confused. */ for (j = 0; j < n_reloads; j++) diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c index 840375f1492..38635522e47 100644 --- a/gcc/sched-rgn.c +++ b/gcc/sched-rgn.c @@ -1560,14 +1560,14 @@ enum INSN_TRAP_CLASS #define WORST_CLASS(class1, class2) \ ((class1 > class2) ? class1 : class2) -/* Non-zero if block bb_to is equal to, or reachable from block bb_from. */ +/* Nonzero if block bb_to is equal to, or reachable from block bb_from. */ #define IS_REACHABLE(bb_from, bb_to) \ (bb_from == bb_to \ || IS_RGN_ENTRY (bb_from) \ || (TEST_BIT (ancestor_edges[bb_to], \ EDGE_TO_BIT (IN_EDGES (BB_TO_BLOCK (bb_from)))))) -/* Non-zero iff the address is comprised from at most 1 register. */ +/* Nonzero iff the address is comprised from at most 1 register. */ #define CONST_BASED_ADDRESS_P(x) \ (GET_CODE (x) == REG \ || ((GET_CODE (x) == PLUS || GET_CODE (x) == MINUS \ diff --git a/gcc/stmt.c b/gcc/stmt.c index 7d6c398fc58..af0028fe5f7 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -390,7 +390,7 @@ struct stmt_status GTY(()) #define emit_lineno (cfun->stmt->x_emit_lineno) #define goto_fixup_chain (cfun->stmt->x_goto_fixup_chain) -/* Non-zero if we are using EH to handle cleanups. */ +/* Nonzero if we are using EH to handle cleanups. */ static int using_eh_for_cleanups_p = 0; static int n_occurrences PARAMS ((int, const char *)); diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 83fbb294d7a..0dd8fc61f1d 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -784,7 +784,7 @@ place_union_field (rli, field) } /* A bitfield of SIZE with a required access alignment of ALIGN is allocated - at BYTE_OFFSET / BIT_OFFSET. Return non-zero if the field would span more + at BYTE_OFFSET / BIT_OFFSET. Return nonzero if the field would span more units of alignment than the underlying TYPE. */ static int excess_unit_span (byte_offset, bit_offset, size, align, type) diff --git a/gcc/timevar.c b/gcc/timevar.c index 3697a5a2ed8..feee994220b 100644 --- a/gcc/timevar.c +++ b/gcc/timevar.c @@ -133,11 +133,11 @@ struct timevar_def /* The name of this timing variable. */ const char *name; - /* Non-zero if this timing variable is running as a standalone + /* Nonzero if this timing variable is running as a standalone timer. */ unsigned standalone : 1; - /* Non-zero if this timing variable was ever started or pushed onto + /* Nonzero if this timing variable was ever started or pushed onto the timing stack. */ unsigned used : 1; }; diff --git a/gcc/toplev.c b/gcc/toplev.c index d98405b23e4..6d1a30dd101 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -423,7 +423,7 @@ int time_report = 0; int mem_report = 0; -/* Non-zero means to collect statistics which might be expensive +/* Nonzero means to collect statistics which might be expensive and to print them when we are done. */ int flag_detailed_statistics = 0; @@ -4105,7 +4105,7 @@ decode_g_option (arg) selected type. It is an error to specify more than one debugging type. */ static enum debug_info_type selected_debug_type = NO_DEBUG; - /* Non-zero if debugging format has been explicitly set. + /* Nonzero if debugging format has been explicitly set. -g and -ggdb don't explicitly set the debugging format so -gdwarf -g3 is equivalent to -gdwarf3. */ static int type_explicitly_set_p = 0; diff --git a/gcc/tree.h b/gcc/tree.h index 0b99b4037a2..b5803e54bdc 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -604,7 +604,7 @@ extern void tree_vec_elt_check_failed PARAMS ((int, int, const char *, when the node is a type). */ #define TREE_READONLY(NODE) ((NODE)->common.readonly_flag) -/* Non-zero if NODE is a _DECL with TREE_READONLY set. */ +/* Nonzero if NODE is a _DECL with TREE_READONLY set. */ #define TREE_READONLY_DECL_P(NODE) (TREE_READONLY (NODE) && DECL_P (NODE)) /* Value of expression is constant. diff --git a/gcc/varasm.c b/gcc/varasm.c index 43e761274b9..b0d5f8372f9 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -4117,7 +4117,7 @@ output_constructor (exp, size, align) /* Number of bytes output or skipped so far. In other words, current position within the constructor. */ HOST_WIDE_INT total_bytes = 0; - /* Non-zero means BYTE contains part of a byte, to be output. */ + /* Nonzero means BYTE contains part of a byte, to be output. */ int byte_buffer_in_use = 0; int byte = 0;