From da7d8304097f7ee1fb0e484b692acd38abc406fb Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 22 Sep 2002 02:03:17 +0000 Subject: [PATCH] ChangeLog: Follow spelling conventions. * ChangeLog: Follow spelling conventions. * ChangeLog.0: Likewise. * ChangeLog.1: Likewise. * ChangeLog.2: Likewise. * ChangeLog.3: Likewise. * ChangeLog.4: Likewise. * ChangeLog.5: Likewise. * ChangeLog.6: Likewise. * FSFChangeLog.10: Likewise. * FSFChangeLog.11: Likewise. * alias.c: Likewise. * basic-block.h: Likewise. * c-aux-info.c: Likewise. * c-common.c: Likewise. * c-common.h: Likewise. * c-decl.c: Likewise. * c-format.c: Likewise. * c-semantics.c: Likewise. * c-typeck.c: Likewise. * calls.c: Likewise. * cfganal.c: Likewise. * cfgloop.c: Likewise. * collect2.c: Likewise. * combine.c: Likewise. * conflict.c: Likewise. * cppexp.c: Likewise. * cppfiles.c: Likewise. * cpphash.h: Likewise. * cppinit.c: Likewise. * cpplex.c: Likewise. * cpplib.c: Likewise. * cpplib.h: Likewise. * cppmacro.c: Likewise. * cse.c: Likewise. From-SVN: r57398 --- gcc/ChangeLog | 51 ++++++++++++++++++++++++++++++++++++------ gcc/ChangeLog.0 | 6 ++--- gcc/ChangeLog.1 | 12 +++++----- gcc/ChangeLog.2 | 2 +- gcc/ChangeLog.3 | 6 ++--- gcc/ChangeLog.4 | 4 ++-- gcc/ChangeLog.5 | 8 +++---- gcc/ChangeLog.6 | 2 +- gcc/FSFChangeLog.10 | 4 ++-- gcc/FSFChangeLog.11 | 10 ++++----- gcc/alias.c | 10 ++++----- gcc/basic-block.h | 8 +++---- gcc/c-aux-info.c | 4 ++-- gcc/c-common.c | 16 +++++++------- gcc/c-common.h | 16 +++++++------- gcc/c-decl.c | 10 ++++----- gcc/c-format.c | 6 ++--- gcc/c-semantics.c | 2 +- gcc/c-typeck.c | 2 +- gcc/calls.c | 10 ++++----- gcc/cfganal.c | 10 ++++----- gcc/cfgloop.c | 6 ++--- gcc/collect2.c | 2 +- gcc/combine.c | 54 ++++++++++++++++++++++----------------------- gcc/conflict.c | 4 ++-- gcc/cppexp.c | 2 +- gcc/cppfiles.c | 2 +- gcc/cpphash.h | 6 ++--- gcc/cppinit.c | 4 ++-- gcc/cpplex.c | 6 ++--- gcc/cpplib.c | 8 +++---- gcc/cpplib.h | 2 +- gcc/cppmacro.c | 8 +++---- gcc/cse.c | 20 ++++++++--------- 34 files changed, 180 insertions(+), 143 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 92992248880..59176736c3e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,40 @@ +2002-09-21 Kazu Hirata + + * ChangeLog: Follow spelling conventions. + * ChangeLog.0: Likewise. + * ChangeLog.1: Likewise. + * ChangeLog.2: Likewise. + * ChangeLog.3: Likewise. + * ChangeLog.4: Likewise. + * ChangeLog.5: Likewise. + * ChangeLog.6: Likewise. + * FSFChangeLog.10: Likewise. + * FSFChangeLog.11: Likewise. + * alias.c: Likewise. + * basic-block.h: Likewise. + * c-aux-info.c: Likewise. + * c-common.c: Likewise. + * c-common.h: Likewise. + * c-decl.c: Likewise. + * c-format.c: Likewise. + * c-semantics.c: Likewise. + * c-typeck.c: Likewise. + * calls.c: Likewise. + * cfganal.c: Likewise. + * cfgloop.c: Likewise. + * collect2.c: Likewise. + * combine.c: Likewise. + * conflict.c: Likewise. + * cppexp.c: Likewise. + * cppfiles.c: Likewise. + * cpphash.h: Likewise. + * cppinit.c: Likewise. + * cpplex.c: Likewise. + * cpplib.c: Likewise. + * cpplib.h: Likewise. + * cppmacro.c: Likewise. + * cse.c: Likewise. + 2002-09-21 Richard Earnshaw * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of @@ -6080,7 +6117,7 @@ Wed Jul 17 17:08:06 2002 J"orn Rennecke Add DF_HI_REGS. (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow lowpart fp regs - only for big endian for now. - (LEGITIMATE_CONSTANT_P): Don't allow non-zero float vectors + (LEGITIMATE_CONSTANT_P): Don't allow nonzero float vectors when FPU is in use. (EXTRA_CONTRAINT_U): Check against CONST0_RTX. (LOAD_EXTEND_OP): NIL for SImode. @@ -11123,7 +11160,7 @@ Tue Jun 4 19:29:42 CEST 2002 Jan Hubicka * gengtype.c (get_output_file): Include headers in gtype-desc.c explicitly rather than deducing them from file names. (write_gc_structure_fields): Handle arrays of structures. - (main): Return non-zero exit code if errors occur during output. + (main): Return nonzero exit code if errors occur during output. * emit-rtl.c (mem_attrs_mark): Delete. (init_emit_once): Use canonical name for mem_attrs marker procedure. * Makefile.in (gtype-desc.o): Explicitly name dependencies. @@ -16778,7 +16815,7 @@ Tue Apr 30 09:31:59 2002 Jeffrey A Law (law@redhat.com) 2001-10-02 Richard Sandiford * haifa-sched.c (max_issue): Remove last_p argument. Only return - non-zero if the highest-priority instruction could be scheduled. + nonzero if the highest-priority instruction could be scheduled. (choose_ready): Remove last argument from max_issue call. 2001-09-28 David S. Miller @@ -22348,7 +22385,7 @@ Tue Mar 5 18:31:27 CET 2002 Jan Hubicka (LINK_SPEC): Don't defsym __.MMIX.start..text if linking relocatably. Always produce ELF, not mmo if linking relocatably. * config/mmix/mmix.c (mmix_encode_section_info): If new parameter - first is non-zero, don't add symbol prefix. + first is nonzero, don't add symbol prefix. * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak prototype accordingly. @@ -23408,7 +23445,7 @@ Thu Feb 21 15:35:46 2002 J"orn Rennecke PR c/4389 * tree.c (host_integerp): Ensure that the constant integer is representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT - when pos is zero or non-zero respectively. Clarify comment. + when pos is zero or nonzero respectively. Clarify comment. * c-format.c (check_format_info_recurse): Fix host_integerp usage; the pos argument should be zero when assigning to a signed HOST_WIDE_INT. @@ -27558,7 +27595,7 @@ Fri Jan 11 09:25:05 2002 Nicola Pero * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a new operand with the sequence number for the lituse. When splitting the insns, use gen_movdi_er_high_g and generate a sequence number. - (gen_movdi_er_high_g): Print the sequence number if non-zero. + (gen_movdi_er_high_g): Print the sequence number if nonzero. 2002-01-10 Aldy Hernandez @@ -27727,7 +27764,7 @@ Thu Jan 10 22:35:54 CET 2002 Jan Hubicka * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC, POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY. (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY. - Recurse for any operand of AND as long as constant is non-zero. + Recurse for any operand of AND as long as constant is nonzero. 2002-01-10 Kazu Hirata diff --git a/gcc/ChangeLog.0 b/gcc/ChangeLog.0 index c9d6a1543ab..4ed06520ca4 100644 --- a/gcc/ChangeLog.0 +++ b/gcc/ChangeLog.0 @@ -6574,8 +6574,8 @@ Wed Mar 11 12:05:20 1998 Teemu Torma * gthr.h: Changed the comment about return values. * gthr-solaris.h (__gthread_once): Do not use errno; return the error number instead of -1. - (__gthread_key_create): Any non-zero return value is an error. - * libgcc2.c (eh_context_initialize): Check for non-zero return + (__gthread_key_create): Any nonzero return value is an error. + * libgcc2.c (eh_context_initialize): Check for nonzero return value from __gthread_once. Check that the value of get_eh_context was really changed. @@ -10440,7 +10440,7 @@ Tue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com) * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero. - * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake. + * alpha.md (attr trap): Make TRAP_YES nonzero for sanity's sake. Tue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com) diff --git a/gcc/ChangeLog.1 b/gcc/ChangeLog.1 index 1957b507e38..d22f0bf7ab2 100644 --- a/gcc/ChangeLog.1 +++ b/gcc/ChangeLog.1 @@ -2152,7 +2152,7 @@ Fri Apr 2 12:58:26 1999 Michael Hayes Fri Apr 2 12:19:17 1999 Michael Hayes * config/c4x/c4x.md (*db): Enable pattern if TARGET_LOOP_UNSIGNED - is non-zero. + is nonzero. (movstrqi_small, movstrqi_large, *cmpstrqi): Add + modifier to address register constraints. (*movhi_clobber+1): Modify splitter pattern to handle destination @@ -5184,10 +5184,10 @@ Mon Feb 8 21:31:06 1999 Richard Henderson (scan_loop): ... moved out of here. Always initialize. Test loop_has_call instead of reg_single_usage not zero. Free reg_single_usage after strength reduction. - (count_loop_regs_set): Assume single_usage non-zero. + (count_loop_regs_set): Assume single_usage nonzero. (combine_givs_used_by_other): Test reg_single_usage. (load_mems_and_recount_loop_regs_set): Remove reg_single_usage - as a parameter. Assume non-zero. + as a parameter. Assume nonzero. 1999-02-08 Zack Weinberg @@ -10282,7 +10282,7 @@ Wed Oct 28 16:46:07 1998 Andreas Schwab Wed Oct 28 14:06:49 1998 Jim Wilson * dwarfout.c (dwarfout_file_scope_decl): If DECL_CONTEXT, don't abort - if pending_types is non-zero. + if pending_types is nonzero. (dwarfout_finish): Verify pending_types is zero before finishing. Wed Oct 28 10:29:09 1998 Nick Clifton @@ -11967,7 +11967,7 @@ Fri Oct 9 14:26:44 1998 Jeffrey A Law (law@cygnus.com) Fri Oct 9 11:44:47 1998 David Edelsohn - * loop.c (insert_bct): Ensure loop_iteration_var non-zero before use. + * loop.c (insert_bct): Ensure loop_iteration_var nonzero before use. Thu Oct 8 21:59:47 1998 Dave Brolley @@ -13059,7 +13059,7 @@ Sat Sep 19 12:05:09 1998 Richard Henderson Sat Sep 19 07:33:36 1998 Richard Earnshaw (rearnsha@arm.com) * arm.c (add_constant): New parameter address_only, change caller. - Set it non-zero if taking the address of an item in the pool. + Set it nonzero if taking the address of an item in the pool. (arm_reorg): Handle cases where we need the address of an item in the pool. diff --git a/gcc/ChangeLog.2 b/gcc/ChangeLog.2 index 10f7c23f90e..a7cff363cd6 100644 --- a/gcc/ChangeLog.2 +++ b/gcc/ChangeLog.2 @@ -3567,7 +3567,7 @@ Sat Oct 30 14:31:48 1999 Richard Henderson (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages. (ggc_collect): Poison before sweeping. * ggc-simple.c: Update pre-function commentary. - (ggc_alloc_obj): Poison non-zeroed memory. + (ggc_alloc_obj): Poison nonzeroed memory. Sat Oct 30 14:28:52 1999 Mark Mitchell diff --git a/gcc/ChangeLog.3 b/gcc/ChangeLog.3 index 58526d5a426..067d9adb68f 100644 --- a/gcc/ChangeLog.3 +++ b/gcc/ChangeLog.3 @@ -1353,7 +1353,7 @@ Wed Jun 7 20:34:33 2000 Denis Chertykov * c-common.h (c_language_kind): New type. (c_language): New variab.e * c-common.c (lang_get_alias_set): Don't put structures in - non-zero alias sets in C++. + nonzero alias sets in C++. * c-decl.c (c_language): Define it. * c-lex.c (doing_objc_thang): Remove. * c-tree.h (doing_objc_thang): Make it a macro. @@ -1538,7 +1538,7 @@ Mon Jun 5 06:46:28 2000 Richard Kenner 2000-06-04 Kaveh R. Ghazi - * Makefile.in (intl.*): Honor non-zero exit codes in the intl + * Makefile.in (intl.*): Honor nonzero exit codes in the intl subdir. 2000-06-03 Geoff Keating @@ -7957,7 +7957,7 @@ Wed Apr 5 18:03:31 2000 Toshiyasu Morita (toshi.morita@sega.com) 2000-04-05 Chris Demetriou * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the - remaining non-zero debugging masks. + remaining nonzero debugging masks. Wed Apr 5 09:44:07 2000 Jeffrey A Law (law@cygnus.com) diff --git a/gcc/ChangeLog.4 b/gcc/ChangeLog.4 index c767f1f55e5..0580d7ac8f0 100644 --- a/gcc/ChangeLog.4 +++ b/gcc/ChangeLog.4 @@ -2120,7 +2120,7 @@ Tue Dec 5 20:09:14 2000 Jeffrey A Law (law@cygnus.com) (expand_builtin_strrchr): Use it. (builtin_memset_read_str): New function. (expand_builtin_memset): Use target_char_cast. - Try to optimize memset with second argument non-zero using + Try to optimize memset with second argument nonzero using store_by_pieces. 2000-11-30 Marek Michalkiewicz @@ -13799,7 +13799,7 @@ Wed Jul 19 01:22:15 CEST 2000 Marc Espie 2000-07-18 Jakub Jelinek - * calls.c (store_arg): Return non-zero if sibcall_failure is desired. + * calls.c (store_arg): Return nonzero if sibcall_failure is desired. (expand_call): Adjust caller. 2000-07-17 Gabriel Dos Reis diff --git a/gcc/ChangeLog.5 b/gcc/ChangeLog.5 index a2e284d8793..9bd21c1a544 100644 --- a/gcc/ChangeLog.5 +++ b/gcc/ChangeLog.5 @@ -2903,7 +2903,7 @@ Thu May 24 15:56:48 CEST 2001 Jan Hubicka * config/ia64/ia64.md (nonlocal_goto): Reverse label and frame pointer parameters to __ia64_nonlocal_goto. Flag as NO_RETURN. * config/ia64/ia64.c (ia64_expand_epilogue): Make sure we are issuing - "r2" to the assembly file. Only issue allocs with non-zero parameters. + "r2" to the assembly file. Only issue allocs with nonzero parameters. 2001-05-22 Loren J. Rittle David O'Brien @@ -5194,7 +5194,7 @@ Wed Apr 25 17:09:50 2001 J"orn Rennecke 2001-04-25 Jakub Jelinek * emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check - if check_mode is non-zero. + if check_mode is nonzero. 2001-04-25 Jakub Jelinek @@ -11558,7 +11558,7 @@ Mon Jan 29 20:38:19 2001 Christopher Faylor (really_start_incremental_init): Clear it. (push_init_level): Save constructor_range_stack and clear it if pushing explicit braces. - (pop_init_level): abort if constructor_range_stack is non-zero at + (pop_init_level): abort if constructor_range_stack is nonzero at explicit closing brace. Restore saved constructor_range_stack if not implicit. @@ -12652,7 +12652,7 @@ Sat Jan 13 09:53:32 MET 2001 Jan Hubicka (pending_init_member): Rename to... (find_init_member): ...this function. Call set_nonincremental_init if necessary. Compare values of purpose index trees, not the trees - themselves. Return the actual value, not just non-zero if something + themselves. Return the actual value, not just nonzero if something is found. (output_init_element): Remove checks for duplicates. If field has zero size, only check the initializer for correctness. diff --git a/gcc/ChangeLog.6 b/gcc/ChangeLog.6 index e7982618a26..f311c071985 100644 --- a/gcc/ChangeLog.6 +++ b/gcc/ChangeLog.6 @@ -16219,7 +16219,7 @@ Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com) * flow.c (update_life_info): Simplify the CFG and recalculate the global regs which are alive when removing dead code during a global update. - (propagate_block): Return non-zero if an INSN is + (propagate_block): Return nonzero if an INSN is deleted. 2001-07-26 Rainer Orth diff --git a/gcc/FSFChangeLog.10 b/gcc/FSFChangeLog.10 index 6a1d50929e7..80ad88320d0 100644 --- a/gcc/FSFChangeLog.10 +++ b/gcc/FSFChangeLog.10 @@ -5704,7 +5704,7 @@ Sun Aug 13 14:50:58 1995 Jim Wilson * Makefile.in (gfloat.h): Add a - before the rm command. * loop.c (find_and_verify_loops): Set dest_loop only if - JUMP_LABEL (insn) is non-zero. + JUMP_LABEL (insn) is nonzero. Mon Jul 31 14:31:53 1995 Ian Lance Taylor @@ -8841,7 +8841,7 @@ Sat Apr 15 13:26:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) Sat Apr 15 12:11:46 1995 Brendan Kehoe * alpha/alpha.c (output_epilog): Initialize fp_offset to 0, and - make sure it's non-zero before we try to use it to restore the + make sure it's nonzero before we try to use it to restore the frame pointer. Fri Apr 14 19:45:05 1995 Jason Merrill diff --git a/gcc/FSFChangeLog.11 b/gcc/FSFChangeLog.11 index 1326eb6fa97..1614a695f60 100644 --- a/gcc/FSFChangeLog.11 +++ b/gcc/FSFChangeLog.11 @@ -3114,7 +3114,7 @@ Wed Aug 27 20:15:53 1997 J"orn Rennecke (braf_branch_p, align_length, fixup_addr_diff_vecs): Likewise. (addr_diff_vec_adjust, get_dest_uid, gen_far_branch): Likewise. (split_branches, regs_used, gen_block_redirect): Likewise. - (from_compare): Can't compare non-zero DImode constant directly. + (from_compare): Can't compare nonzero DImode constant directly. Emit special code for TARGET_SH3E floating point with code == GE. Force 0.0 into a register for SH3E. (print_operand): Add ','. @@ -3935,7 +3935,7 @@ Mon Aug 4 08:06:48 1997 Bernd Schmidt integer argument of push_reload. * rtlanal.c (may_trap_p): Fix unintended fall-through so divisions by - non-zero constants are handled properly. Return 1 for FP divisions. + nonzero constants are handled properly. Return 1 for FP divisions. Mon Aug 4 06:52:20 1997 Andreas Schwab @@ -5105,7 +5105,7 @@ Thu Jun 19 21:18:20 1997 Jim Wilson Thu Jun 19 14:55:49 1997 Brendan Kehoe - * toplev.c (xmalloc): Only give the fatal msg if SIZE is non-zero. + * toplev.c (xmalloc): Only give the fatal msg if SIZE is nonzero. Sun Apr 27 23:19:13 1997 Ulrich Drepper @@ -9711,7 +9711,7 @@ Sun Oct 20 20:01:09 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) Fri Oct 18 13:32:13 1996 Michael Meissner * rs6000.md (float conversion insns): Generate correct code - if the bit 15 of rs6000_fpmem_offset is non-zero. + if the bit 15 of rs6000_fpmem_offset is nonzero. Thu Oct 17 23:22:03 1996 Jason Merrill @@ -14430,7 +14430,7 @@ Thu Apr 4 11:40:55 1996 Michael Meissner Wed Apr 3 14:10:16 1996 Jim Wilson - * expr.c (emit_push_insn): Clobber register only if it is non-zero. + * expr.c (emit_push_insn): Clobber register only if it is nonzero. Wed Apr 3 11:31:55 1996 Jeffrey A. Law diff --git a/gcc/alias.c b/gcc/alias.c index 68a827224fa..914b1532e5d 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -2199,8 +2199,8 @@ canon_true_dependence (mem, mem_mode, mem_addr, x, varies) varies); } -/* Returns non-zero if a write to X might alias a previous read from - (or, if WRITEP is non-zero, a write to) MEM. */ +/* Returns nonzero if a write to X might alias a previous read from + (or, if WRITEP is nonzero, a write to) MEM. */ static int write_dependence_p (mem, x, writep) @@ -2389,7 +2389,7 @@ nonlocal_mentioned_p_1 (loc, data) return 0; } -/* Returns non-zero if X might mention something which is not +/* Returns nonzero if X might mention something which is not local to the function and is not constant. */ static int @@ -2487,7 +2487,7 @@ nonlocal_referenced_p_1 (loc, data) return 0; } -/* Returns non-zero if X might reference something which is not +/* Returns nonzero if X might reference something which is not local to the function and is not constant. */ static int @@ -2567,7 +2567,7 @@ nonlocal_set_p_1 (loc, data) return 0; } -/* Returns non-zero if X might set something which is not +/* Returns nonzero if X might set something which is not local to the function and is not constant. */ static int diff --git a/gcc/basic-block.h b/gcc/basic-block.h index e0760ea0445..10c895408f2 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -435,7 +435,7 @@ struct loop /* Link to the next (sibling) loop. */ struct loop *next; - /* Non-zero if the loop is invalid (e.g., contains setjmp.). */ + /* Nonzero if the loop is invalid (e.g., contains setjmp.). */ int invalid; /* Auxiliary info specific to a pass. */ @@ -444,10 +444,10 @@ struct loop /* The following are currently used by loop.c but they are likely to disappear as loop.c is converted to use the CFG. */ - /* Non-zero if the loop has a NOTE_INSN_LOOP_VTOP. */ + /* Nonzero if the loop has a NOTE_INSN_LOOP_VTOP. */ rtx vtop; - /* Non-zero if the loop has a NOTE_INSN_LOOP_CONT. + /* Nonzero if the loop has a NOTE_INSN_LOOP_CONT. A continue statement will generate a branch to NEXT_INSN (cont). */ rtx cont; @@ -770,7 +770,7 @@ typedef struct conflict_graph_def *conflict_graph; /* Callback function when enumerating conflicts. The arguments are the smaller and larger regno in the conflict. Returns zero if - enumeration is to continue, non-zero to halt enumeration. */ + enumeration is to continue, nonzero to halt enumeration. */ typedef int (*conflict_graph_enum_fn) PARAMS ((int, int, void *)); diff --git a/gcc/c-aux-info.c b/gcc/c-aux-info.c index 67ecae6cea1..761fa848606 100644 --- a/gcc/c-aux-info.c +++ b/gcc/c-aux-info.c @@ -188,7 +188,7 @@ gen_formal_list_for_type (fntype, style) /* For the generation of an ANSI prototype for a function definition, we have to look at the formal parameter list of the function's own "type" to determine if the function's formal parameter list should end with an - ellipsis. Given a tree node, the following function will return non-zero + ellipsis. Given a tree node, the following function will return nonzero if the "function type" parameter list should end with an ellipsis. */ static int @@ -471,7 +471,7 @@ gen_type (ret_val, t, style) The given entity may be either a variable or a function. - If the "is_func_definition" parameter is non-zero, assume that the thing + If the "is_func_definition" parameter is nonzero, assume that the thing we are generating a declaration for is a FUNCTION_DECL node which is associated with a function definition. In this case, we can assume that an attached list of DECL nodes for function formal arguments is present. */ diff --git a/gcc/c-common.c b/gcc/c-common.c index 4787f857fab..62458d66ff1 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -581,26 +581,26 @@ int warn_implicit = 1; int warn_ctor_dtor_privacy = 1; -/* Non-zero means warn in function declared in derived class has the +/* Nonzero means warn in function declared in derived class has the same name as a virtual in the base class, but fails to match the type signature of any virtual function in the base class. */ int warn_overloaded_virtual; -/* Non-zero means warn when declaring a class that has a non virtual +/* Nonzero means warn when declaring a class that has a non virtual destructor, when it really ought to have a virtual one. */ int warn_nonvdtor; -/* Non-zero means warn when the compiler will reorder code. */ +/* Nonzero means warn when the compiler will reorder code. */ int warn_reorder; -/* Non-zero means warn when synthesis behavior differs from Cfront's. */ +/* Nonzero means warn when synthesis behavior differs from Cfront's. */ int warn_synth; -/* Non-zero means warn when we convert a pointer to member function +/* Nonzero means warn when we convert a pointer to member function into a pointer to (void or function). */ int warn_pmf2ptr = 1; @@ -2780,12 +2780,12 @@ c_common_truthvalue_conversion (expr) case ABS_EXPR: case FLOAT_EXPR: case FFS_EXPR: - /* These don't change whether an object is non-zero or zero. */ + /* These don't change whether an object is nonzero or zero. */ return c_common_truthvalue_conversion (TREE_OPERAND (expr, 0)); case LROTATE_EXPR: case RROTATE_EXPR: - /* These don't change whether an object is zero or non-zero, but + /* These don't change whether an object is zero or nonzero, but we can't ignore them if their second arg has side-effects. */ if (TREE_SIDE_EFFECTS (TREE_OPERAND (expr, 1))) return build (COMPOUND_EXPR, boolean_type_node, TREE_OPERAND (expr, 1), @@ -3868,7 +3868,7 @@ expand_tree_builtin (function, params, coerced_params) return NULL_TREE; } -/* Returns non-zero if CODE is the code for a statement. */ +/* Returns nonzero if CODE is the code for a statement. */ int statement_code_p (code) diff --git a/gcc/c-common.h b/gcc/c-common.h index 9c69873e22f..f15dbf18bf5 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -253,12 +253,12 @@ struct stmt_tree_s GTY(()) { tree x_last_expr_type; /* The last filename we recorded. */ const char *x_last_expr_filename; - /* In C++, Non-zero if we should treat statements as full + /* In C++, Nonzero if we should treat statements as full expressions. In particular, this variable is no-zero if at the end of a statement we should destroy any temporaries created during that statement. Similarly, if, at the end of a block, we should destroy any local variables in this block. Normally, this - variable is non-zero, since those are the normal semantics of + variable is nonzero, since those are the normal semantics of C++. However, in order to represent aggregate initialization code as @@ -751,26 +751,26 @@ extern int warn_implicit; extern int warn_ctor_dtor_privacy; -/* Non-zero means warn in function declared in derived class has the +/* Nonzero means warn in function declared in derived class has the same name as a virtual in the base class, but fails to match the type signature of any virtual function in the base class. */ extern int warn_overloaded_virtual; -/* Non-zero means warn when declaring a class that has a non virtual +/* Nonzero means warn when declaring a class that has a non virtual destructor, when it really ought to have a virtual one. */ extern int warn_nonvdtor; -/* Non-zero means warn when the compiler will reorder code. */ +/* Nonzero means warn when the compiler will reorder code. */ extern int warn_reorder; -/* Non-zero means warn when synthesis behavior differs from Cfront's. */ +/* Nonzero means warn when synthesis behavior differs from Cfront's. */ extern int warn_synth; -/* Non-zero means warn when we convert a pointer to member function +/* Nonzero means warn when we convert a pointer to member function into a pointer to (void or function). */ extern int warn_pmf2ptr; @@ -1088,7 +1088,7 @@ extern tree strip_array_types PARAMS ((tree)); #define STMT_LINENO(NODE) \ (TREE_COMPLEXITY ((NODE))) -/* If non-zero, the STMT_LINENO for NODE is the line at which the +/* If nonzero, the STMT_LINENO for NODE is the line at which the function ended. */ #define STMT_LINENO_FOR_FN_P(NODE) \ (TREE_LANG_FLAG_2 ((NODE))) diff --git a/gcc/c-decl.c b/gcc/c-decl.c index bbf1544bd88..dba2737182e 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -2691,8 +2691,8 @@ shadow_tag_warned (declspecs, warned) /* Construct an array declarator. EXPR is the expression inside [], or NULL_TREE. QUALS are the type qualifiers inside the [] (to be applied to the pointer to which a parameter array is converted). STATIC_P is - non-zero if "static" is inside the [], zero otherwise. VLA_UNSPEC_P - is non-zero is the array is [*], a VLA of unspecified length which is + nonzero if "static" is inside the [], zero otherwise. VLA_UNSPEC_P + is nonzero is the array is [*], a VLA of unspecified length which is nevertheless a complete type (not currently implemented by GCC), zero otherwise. The declarator is constructed as an ARRAY_REF (to be decoded by grokdeclarator), whose operand 0 is what's on the @@ -2725,7 +2725,7 @@ build_array_declarator (expr, quals, static_p, vla_unspec_p) /* Set the type of an array declarator. DECL is the declarator, as constructed by build_array_declarator; TYPE is what appears on the left - of the [] and goes in operand 0. ABSTRACT_P is non-zero if it is an + of the [] and goes in operand 0. ABSTRACT_P is nonzero if it is an abstract declarator, zero otherwise; this is used to reject static and type qualifiers in abstract declarators, where they are not in the C99 grammar. */ @@ -6426,7 +6426,7 @@ c_expand_deferred_function (fndecl) } } -/* Generate the RTL for the body of FNDECL. If NESTED_P is non-zero, +/* Generate the RTL for the body of FNDECL. If NESTED_P is nonzero, then we are already in the process of generating RTL for another function. If can_defer_p is zero, we won't attempt to defer the generation of RTL. */ @@ -6769,7 +6769,7 @@ c_dup_lang_specific_decl (decl) functions are not called from anywhere in the C front end, but as these changes continue, that will change. */ -/* Returns non-zero if the current statement is a full expression, +/* Returns nonzero if the current statement is a full expression, i.e. temporaries created during that statement should be destroyed at the end of the statement. */ diff --git a/gcc/c-format.c b/gcc/c-format.c index 0c7545a3325..a8066df5235 100644 --- a/gcc/c-format.c +++ b/gcc/c-format.c @@ -439,7 +439,7 @@ typedef struct /* The flag character in question (0 for end of array). */ const int flag_char; /* Zero if this entry describes the flag character in general, or a - non-zero character that may be found in flags2 if it describes the + nonzero character that may be found in flags2 if it describes the flag when used with certain formats only. If the latter, only the first such entry found that applies to the current conversion specifier is used; the values of `name' and `long_name' it supplies @@ -469,11 +469,11 @@ typedef struct const int flag_char1; /* The second flag character. */ const int flag_char2; - /* Non-zero if the message should say that the first flag is ignored with + /* Nonzero if the message should say that the first flag is ignored with the second, zero if the combination should simply be objected to. */ const int ignored; /* Zero if this entry applies whenever this flag combination occurs, - a non-zero character from flags2 if it only applies in some + a nonzero character from flags2 if it only applies in some circumstances (e.g. 'i' for printf formats ignoring 0 with precision). */ const int predicate; } format_flag_pair; diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c index a4d11f8e606..70699a047bc 100644 --- a/gcc/c-semantics.c +++ b/gcc/c-semantics.c @@ -335,7 +335,7 @@ genrtl_expr_stmt (expr) whether to (1) save the value of the expression, (0) discard it or (-1) use expr_stmts_for_value to tell. The use of -1 is deprecated, and retained only for backward compatibility. - MAYBE_LAST is non-zero if this EXPR_STMT might be the last statement + MAYBE_LAST is nonzero if this EXPR_STMT might be the last statement in expression statement. */ void diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 3595cff496c..1bca1bfb858 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -5555,7 +5555,7 @@ pop_init_level (implicit) } /* Common handling for both array range and field name designators. - ARRAY argument is non-zero for array ranges. Returns zero for success. */ + ARRAY argument is nonzero for array ranges. Returns zero for success. */ static int set_designator (array) diff --git a/gcc/calls.c b/gcc/calls.c index 97e7e045068..d4e3f009589 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -91,7 +91,7 @@ struct arg_data /* Number of registers to use. 0 means put the whole arg in registers. Also 0 if not passed in registers. */ int partial; - /* Non-zero if argument must be passed on stack. + /* Nonzero if argument must be passed on stack. Note that some arguments may be passed on the stack even though pass_on_stack is zero, just because FUNCTION_ARG says so. pass_on_stack identifies arguments that *cannot* go in registers. */ @@ -126,7 +126,7 @@ struct arg_data struct args_size alignment_pad; }; -/* A vector of one char per byte of stack space. A byte if non-zero if +/* A vector of one char per byte of stack space. A byte if nonzero if the corresponding stack location has been used. This vector is used to prevent a function call within an argument from clobbering any stack already set up. */ @@ -1965,7 +1965,7 @@ combine_pending_stack_adjustment_and_call (unadjusted_args_size, /* Scan X expression if it does not dereference any argument slots we already clobbered by tail call arguments (as noted in stored_args_map bitmap). - Return non-zero if X expression dereferences such argument slots, + Return nonzero if X expression dereferences such argument slots, zero otherwise. */ static int @@ -2028,7 +2028,7 @@ check_sibcall_argument_overlap_1 (x) /* Scan sequence after INSN if it does not dereference any argument slots we already clobbered by tail call arguments (as noted in stored_args_map bitmap). Add stack slots for ARG to stored_args_map bitmap afterwards. - Return non-zero if sequence after INSN dereferences such argument slots, + Return nonzero if sequence after INSN dereferences such argument slots, zero otherwise. */ static int @@ -4280,7 +4280,7 @@ emit_library_call_value VPARAMS((rtx orgfun, rtx value, FNDECL is the declaration of the function we are calling. - Return non-zero if this arg should cause sibcall failure, + Return nonzero if this arg should cause sibcall failure, zero otherwise. */ static int diff --git a/gcc/cfganal.c b/gcc/cfganal.c index 35ce07d53fc..bc8fff2510b 100644 --- a/gcc/cfganal.c +++ b/gcc/cfganal.c @@ -97,7 +97,7 @@ can_fallthru (src, target) } /* Mark the back edges in DFS traversal. - Return non-zero if a loop (natural or otherwise) is present. + Return nonzero if a loop (natural or otherwise) is present. Inspired by Depth_First_Search_PP described in: Advanced Compiler Design and Implementation @@ -370,7 +370,7 @@ flow_call_edges_add (blocks) } /* Find unreachable blocks. An unreachable block will have 0 in - the reachable bit in block->flags. A non-zero value indicates the + the reachable bit in block->flags. A nonzero value indicates the block is reachable. */ void @@ -781,8 +781,8 @@ flow_reverse_top_sort_order_compute (rts_order) } /* Compute the depth first search order and store in the array - DFS_ORDER if non-zero, marking the nodes visited in VISITED. If - RC_ORDER is non-zero, return the reverse completion number for each + DFS_ORDER if nonzero, marking the nodes visited in VISITED. If + RC_ORDER is nonzero, return the reverse completion number for each node. Returns the number of nodes visited. A depth first search tries to get as far away from the starting point as quickly as possible. */ @@ -1027,7 +1027,7 @@ flow_preorder_transversal_compute (pot_order) /* Initialize the data structures used for depth-first search on the reverse graph. If INITIALIZE_STACK is nonzero, the exit block is added to the basic block stack. DATA is the current depth-first - search context. If INITIALIZE_STACK is non-zero, there is an + search context. If INITIALIZE_STACK is nonzero, there is an element on the stack. */ static void diff --git a/gcc/cfgloop.c b/gcc/cfgloop.c index 42a403d1272..0a2829f5c18 100644 --- a/gcc/cfgloop.c +++ b/gcc/cfgloop.c @@ -90,7 +90,7 @@ flow_loops_cfg_dump (loops, file) } } -/* Return non-zero if the nodes of LOOP are a subset of OUTER. */ +/* Return nonzero if the nodes of LOOP are a subset of OUTER. */ bool flow_loop_nested_p (outer, loop) @@ -949,7 +949,7 @@ flow_loops_update (loops, flags) return flow_loops_find (loops, flags); } -/* Return non-zero if basic block BB belongs to LOOP. */ +/* Return nonzero if basic block BB belongs to LOOP. */ bool flow_bb_inside_loop_p (loop, bb) const struct loop *loop; @@ -964,7 +964,7 @@ flow_bb_inside_loop_p (loop, bb) return loop == source_loop || flow_loop_nested_p (loop, source_loop); } -/* Return non-zero if edge E enters header of LOOP from outside of LOOP. */ +/* Return nonzero if edge E enters header of LOOP from outside of LOOP. */ bool flow_loop_outside_edge_p (loop, e) diff --git a/gcc/collect2.c b/gcc/collect2.c index 4345e3a754e..c26838427d7 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -1491,7 +1491,7 @@ main (argc, argv) } -/* Wait for a process to finish, and exit if a non-zero status is found. */ +/* Wait for a process to finish, and exit if a nonzero status is found. */ int collect_wait (prog) diff --git a/gcc/combine.c b/gcc/combine.c index 1d6a5b270b7..5b7b5a92bf7 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -221,7 +221,7 @@ static int need_refresh; register was assigned reg_last_set_table_tick records the value of label_tick when a value using the register is assigned - reg_last_set_invalid set to non-zero when it is not valid + reg_last_set_invalid set to nonzero when it is not valid to use the value of this register in some register's value @@ -230,7 +230,7 @@ static int need_refresh; and the register being validly contained in some other expression in the table. - Entry I in reg_last_set_value is valid if it is non-zero, and either + Entry I in reg_last_set_value is valid if it is nonzero, and either reg_n_sets[i] is 1 or reg_last_set_label[i] == label_tick. Register I may validly appear in any expression returned for the value @@ -242,7 +242,7 @@ static int need_refresh; not validly appear in an expression, the register is replaced by something that won't match, (clobber (const_int 0)). - reg_last_set_invalid[i] is set non-zero when register I is being assigned + reg_last_set_invalid[i] is set nonzero when register I is being assigned to and reg_last_set_table_tick[i] == label_tick. */ /* Record last value assigned to (hard or pseudo) register n. */ @@ -259,7 +259,7 @@ static int *reg_last_set_label; static int *reg_last_set_table_tick; -/* Set non-zero if references to register n in expressions should not be +/* Set nonzero if references to register n in expressions should not be used. */ static char *reg_last_set_invalid; @@ -497,7 +497,7 @@ do_SUBST_INT (into, newval) /* Main entry point for combiner. F is the first insn of the function. NREGS is the first unused pseudo-reg number. - Return non-zero if the combiner has turned an indirect jump + Return nonzero if the combiner has turned an indirect jump instruction into a direct jump. */ int combine_instructions (f, nregs) @@ -1285,13 +1285,13 @@ sets_function_arg_p (pat) case, we would be getting the wrong value of I2DEST into I3, so we must reject the combination. This case occurs when I2 and I1 both feed into I3, rather than when I1 feeds into I2, which feeds into I3. - If I1_NOT_IN_SRC is non-zero, it means that finding I1 in the source + If I1_NOT_IN_SRC is nonzero, it means that finding I1 in the source of a SET must prevent combination from occurring. Before doing the above check, we first try to expand a field assignment into a set of logical operations. - If PI3_DEST_KILLED is non-zero, it is a pointer to a location in which + If PI3_DEST_KILLED is nonzero, it is a pointer to a location in which we place a register that is both set and used within I3. If more than one such register is detected, we fail. @@ -1497,7 +1497,7 @@ cant_combine_insn_p (insn) If we did the combination, return the insn at which combine should resume scanning. - Set NEW_DIRECT_JUMP_P to a non-zero value if try_combine creates a + Set NEW_DIRECT_JUMP_P to a nonzero value if try_combine creates a new direct jump instruction. */ static rtx @@ -3107,7 +3107,7 @@ find_split_point (loc, insn) case AND: /* If we are AND'ing with a large constant that is only a single bit and the result is only being used in a context where we - need to know if it is zero or non-zero, replace it with a bit + need to know if it is zero or nonzero, replace it with a bit extraction. This will avoid the large constant, which might have taken more than one insn to make. If the constant were not a valid argument to the AND but took only one insn to make, @@ -3335,10 +3335,10 @@ find_split_point (loc, insn) `n_occurrences' is incremented each time FROM is replaced. - IN_DEST is non-zero if we are processing the SET_DEST of a SET. + IN_DEST is nonzero if we are processing the SET_DEST of a SET. - UNIQUE_COPY is non-zero if each substitution must be unique. We do this - by copying if `n_occurrences' is non-zero. */ + UNIQUE_COPY is nonzero if each substitution must be unique. We do this + by copying if `n_occurrences' is nonzero. */ static rtx subst (x, from, to, in_dest, unique_copy) @@ -5980,15 +5980,15 @@ expand_field_assignment (x) code that understands the USE is this routine. If it is not removed, it will cause the resulting insn not to match. - UNSIGNEDP is non-zero for an unsigned reference and zero for a + UNSIGNEDP is nonzero for an unsigned reference and zero for a signed reference. - IN_DEST is non-zero if this is a reference in the destination of a - SET. This is used when a ZERO_ or SIGN_EXTRACT isn't needed. If non-zero, + IN_DEST is nonzero if this is a reference in the destination of a + SET. This is used when a ZERO_ or SIGN_EXTRACT isn't needed. If nonzero, a STRICT_LOW_PART will be used, if zero, ZERO_EXTEND or SIGN_EXTEND will be used. - IN_COMPARE is non-zero if we are in a COMPARE. This means that a + IN_COMPARE is nonzero if we are in a COMPARE. This means that a ZERO_EXTRACT should be built even for bits starting at bit 0. MODE is the desired mode of the result (if IN_DEST == 0). @@ -6476,7 +6476,7 @@ make_compound_operation (x, in_code) : in_code == COMPARE ? SET : in_code); /* Process depending on the code of this operation. If NEW is set - non-zero, it will be returned. */ + nonzero, it will be returned. */ switch (code) { @@ -6753,7 +6753,7 @@ get_pos_from_mask (m, plen) Return a possibly simplified expression, but always convert X to MODE. If X is a CONST_INT, AND the CONST_INT with MASK. - Also, if REG is non-zero and X is a register equal in value to REG, + Also, if REG is nonzero and X is a register equal in value to REG, replace X with REG. If JUST_SELECT is nonzero, don't optimize by noticing that bits in MASK @@ -7363,7 +7363,7 @@ if_then_else_cond (x, ptrue, pfalse) } /* See if we have PLUS, IOR, XOR, MINUS or UMAX, where one of the - operands is zero when the other is non-zero, and vice-versa, + operands is zero when the other is nonzero, and vice-versa, and STORE_FLAG_VALUE is 1 or -1. */ if ((STORE_FLAG_VALUE == 1 || STORE_FLAG_VALUE == -1) @@ -8067,7 +8067,7 @@ simplify_and_const_int (x, mode, varop, constop) this. This macro avoids accidental uses of num_sign_bit_copies. */ #define num_sign_bit_copies() -/* Given an expression, X, compute which bits in X can be non-zero. +/* Given an expression, X, compute which bits in X can be nonzero. We don't care about bits outside of those defined in MODE. For most X this is simply GET_MODE_MASK (GET_MODE (MODE)), but if X is @@ -8283,7 +8283,7 @@ nonzero_bits (x, mode) case SIGN_EXTEND: /* If the sign bit is known clear, this is the same as ZERO_EXTEND. Otherwise, show all the bits in the outer mode but not the inner - may be non-zero. */ + may be nonzero. */ inner_nz = nonzero_bits (XEXP (x, 0), mode); if (GET_MODE (XEXP (x, 0)) != VOIDmode) { @@ -8321,7 +8321,7 @@ nonzero_bits (x, mode) case MOD: case UMOD: /* We can apply the rules of arithmetic to compute the number of high- and low-order zero bits of these operations. We start by - computing the width (position of the highest-order non-zero bit) + computing the width (position of the highest-order nonzero bit) and the number of low-order zero bits for each value. */ { unsigned HOST_WIDE_INT nz0 = nonzero_bits (XEXP (x, 0), mode); @@ -9031,7 +9031,7 @@ merge_outer_ops (pop0, pconst0, op1, const1, mode, pcomp_p) } /* Simplify a shift of VAROP by COUNT bits. CODE says what kind of shift. - The result of the shift is RESULT_MODE. X, if non-zero, is an expression + The result of the shift is RESULT_MODE. X, if nonzero, is an expression that we started with. The shift is normally computed in the widest mode we find in VAROP, as @@ -10781,7 +10781,7 @@ simplify_comparison (code, pop0, pop1) break; case IOR: - /* The sign bit of (ior (plus X (const_int -1)) X) is non-zero + /* The sign bit of (ior (plus X (const_int -1)) X) is nonzero iff X <= 0. */ if (sign_bit_comparison_p && GET_CODE (XEXP (op0, 0)) == PLUS && XEXP (XEXP (op0, 0), 1) == constm1_rtx @@ -11582,7 +11582,7 @@ check_promoted_subreg (insn, x) mentioned in *LOC are valid when *LOC was part of a value set when label_tick == TICK. Return 0 if some are not. - If REPLACE is non-zero, replace the invalid reference with + If REPLACE is nonzero, replace the invalid reference with (clobber (const_int 0)) and return 1. This replacement is useful because we often can get useful information about the form of a value (e.g., if it was produced by a shift that always produces -1 or 0) even though @@ -11795,7 +11795,7 @@ reg_dead_at_p_1 (dest, x, data) reg_dead_flag = (GET_CODE (x) == CLOBBER) ? 1 : -1; } -/* Return non-zero if REG is known to be dead at INSN. +/* Return nonzero if REG is known to be dead at INSN. We scan backwards from INSN. If we hit a REG_DEAD note or a CLOBBER referencing REG, it is dead. If we hit a SET referencing REG, it is @@ -12469,7 +12469,7 @@ distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1) case REG_DEAD: /* If the register is used as an input in I3, it dies there. - Similarly for I2, if it is non-zero and adjacent to I3. + Similarly for I2, if it is nonzero and adjacent to I3. If the register is not used as an input in either I3 or I2 and it is not one of the registers we were supposed to eliminate, diff --git a/gcc/conflict.c b/gcc/conflict.c index 9851fade3de..48ca1d69e67 100644 --- a/gcc/conflict.c +++ b/gcc/conflict.c @@ -183,7 +183,7 @@ conflict_graph_delete (graph) } /* Adds a conflict to GRAPH between regs REG1 and REG2, which must be - distinct. Returns non-zero, unless the conflict is already present + distinct. Returns nonzero, unless the conflict is already present in GRAPH, in which case it does nothing and returns zero. */ int @@ -232,7 +232,7 @@ conflict_graph_add (graph, reg1, reg2) return 1; } -/* Returns non-zero if a conflict exists in GRAPH between regs REG1 +/* Returns nonzero if a conflict exists in GRAPH between regs REG1 and REG2. */ int diff --git a/gcc/cppexp.c b/gcc/cppexp.c index 547e4601eb6..d4ea2fc1854 100644 --- a/gcc/cppexp.c +++ b/gcc/cppexp.c @@ -1551,7 +1551,7 @@ num_div_op (pfile, lhs, rhs, op) return lhs; } - /* First non-zero bit of RHS is bit I. Do naive division by + /* First nonzero bit of RHS is bit I. Do naive division by shifting the RHS fully left, and subtracting from LHS if LHS is at least as big, and then repeating but with one less shift. This is not very efficient, but is easy to understand. */ diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c index 5c5c68533a7..ac6fa8ab7db 100644 --- a/gcc/cppfiles.c +++ b/gcc/cppfiles.c @@ -658,7 +658,7 @@ report_missing_guard (n, b) } /* Create a dependency for file FNAME, or issue an error message as - appropriate. ANGLE_BRACKETS is non-zero if the file was bracketed + appropriate. ANGLE_BRACKETS is nonzero if the file was bracketed like <..>. */ static void handle_missing_header (pfile, fname, angle_brackets) diff --git a/gcc/cpphash.h b/gcc/cpphash.h index 61027f2dfaa..16e8dfe08fe 100644 --- a/gcc/cpphash.h +++ b/gcc/cpphash.h @@ -99,7 +99,7 @@ struct cpp_macro /* If macro defined in system header. */ unsigned int syshdr : 1; - /* Non-zero if it has been expanded or had its existence tested. */ + /* Nonzero if it has been expanded or had its existence tested. */ unsigned int used : 1; }; @@ -141,7 +141,7 @@ struct search_path of an earlier directory on the search path. */ ino_t ino; dev_t dev; - /* Non-zero if it is a system include directory. */ + /* Nonzero if it is a system include directory. */ int sysp; /* Mapping of file names for this directory. Only used on MS-DOS and related platforms. */ @@ -372,7 +372,7 @@ struct cpp_reader tokenrun base_run, *cur_run; unsigned int lookaheads; - /* Non-zero prevents the lexer from re-using the token runs. */ + /* Nonzero prevents the lexer from re-using the token runs. */ unsigned int keep_tokens; /* Error counter for exit code. */ diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 2534ba455a3..8ec1b0e4bf4 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -194,7 +194,7 @@ path_include (pfile, list, path) /* Append DIR to include path PATH. DIR must be allocated on the heap; this routine takes responsibility for freeing it. CXX_AWARE - is non-zero if the header contains extern "C" guards for C++, + is nonzero if the header contains extern "C" guards for C++, otherwise it is zero. */ static void append_include_chain (pfile, dir, path, cxx_aware) @@ -840,7 +840,7 @@ init_standard_includes (pfile) } /* Pushes a command line -imacro and -include file indicated by P onto - the buffer stack. Returns non-zero if successful. */ + the buffer stack. Returns nonzero if successful. */ static bool push_include (pfile, p) cpp_reader *pfile; diff --git a/gcc/cpplex.c b/gcc/cpplex.c index 01c17ccffb0..d57f5bd0c2b 100644 --- a/gcc/cpplex.c +++ b/gcc/cpplex.c @@ -252,7 +252,7 @@ get_effective_char (pfile) /* Skip a C-style block comment. We find the end of the comment by seeing if an asterisk is before every '/' we encounter. Returns - non-zero if comment terminated by EOF, zero otherwise. */ + nonzero if comment terminated by EOF, zero otherwise. */ static int skip_block_comment (pfile) cpp_reader *pfile; @@ -297,7 +297,7 @@ skip_block_comment (pfile) } /* Skip a C++ line comment, leaving buffer->cur pointing to the - terminating newline. Handles escaped newlines. Returns non-zero + terminating newline. Handles escaped newlines. Returns nonzero if a multiline comment. */ static int skip_line_comment (pfile) @@ -561,7 +561,7 @@ parse_slow (pfile, cur, number_p, plen) } /* Parse a number, beginning with character C, skipping embedded - backslash-newlines. LEADING_PERIOD is non-zero if there was a "." + backslash-newlines. LEADING_PERIOD is nonzero if there was a "." before C. Place the result in NUMBER. */ static void parse_number (pfile, number, leading_period) diff --git a/gcc/cpplib.c b/gcc/cpplib.c index eb11e5b090b..c954448cbd3 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -300,7 +300,7 @@ prepare_directive_trad (pfile) pfile->state.prevent_expansion++; } -/* Output diagnostics for a directive DIR. INDENTED is non-zero if +/* Output diagnostics for a directive DIR. INDENTED is nonzero if the '#' was indented. */ static void directive_diagnostics (pfile, dir, indented) @@ -336,10 +336,10 @@ directive_diagnostics (pfile, dir, indented) } } -/* Check if we have a known directive. INDENTED is non-zero if the +/* Check if we have a known directive. INDENTED is nonzero if the '#' of the directive was indented. This function is in this file to save unnecessarily exporting dtable etc. to cpplex.c. Returns - non-zero if the line of tokens has been handled, zero if we should + nonzero if the line of tokens has been handled, zero if we should continue processing the line. */ int _cpp_handle_directive (pfile, indented) @@ -1686,7 +1686,7 @@ find_answer (node, candidate) } /* Test an assertion within a preprocessor conditional. Returns - non-zero on failure, zero on success. On success, the result of + nonzero on failure, zero on success. On success, the result of the test is written into VALUE. */ int _cpp_test_assertion (pfile, value) diff --git a/gcc/cpplib.h b/gcc/cpplib.h index e58a2e7d687..b22aaa118d8 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -659,7 +659,7 @@ cpp_num cpp_num_sign_extend PARAMS ((cpp_num, size_t)); #define DL_ICE 0x04 /* Extracts a diagnostic level from an int. */ #define DL_EXTRACT(l) (l & 0xf) -/* Non-zero if a diagnostic level is one of the warnings. */ +/* Nonzero if a diagnostic level is one of the warnings. */ #define DL_WARNING_P(l) (DL_EXTRACT (l) >= DL_WARNING \ && DL_EXTRACT (l) <= DL_PEDWARN) diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c index 961109ad100..b8fb792de88 100644 --- a/gcc/cppmacro.c +++ b/gcc/cppmacro.c @@ -414,7 +414,7 @@ stringify_arg (pfile, arg) return new_string_token (pfile, dest - len, len); } -/* Try to paste two tokens. On success, return non-zero. In any +/* Try to paste two tokens. On success, return nonzero. In any case, PLHS is updated to point to the pasted token, which is guaranteed to not have the PASTE_LEFT flag set. */ static bool @@ -1240,7 +1240,7 @@ _cpp_backup_tokens (pfile, count) /* #define directive parsing and handling. */ -/* Returns non-zero if a macro redefinition warning is required. */ +/* Returns nonzero if a macro redefinition warning is required. */ static bool warn_of_redefinition (pfile, node, macro2) cpp_reader *pfile; @@ -1294,7 +1294,7 @@ _cpp_free_definition (h) } /* Save parameter NODE to the parameter list of macro MACRO. Returns - zero on success, non-zero if the parameter is a duplicate. */ + zero on success, nonzero if the parameter is a duplicate. */ bool _cpp_save_parameter (pfile, macro, node) cpp_reader *pfile; @@ -1534,7 +1534,7 @@ create_iso_definition (pfile, macro) return true; } -/* Parse a macro and save its expansion. Returns non-zero on success. */ +/* Parse a macro and save its expansion. Returns nonzero on success. */ bool _cpp_create_definition (pfile, node) cpp_reader *pfile; diff --git a/gcc/cse.c b/gcc/cse.c index e1b2ea1fbfe..706fe80f4eb 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -2768,9 +2768,9 @@ cse_rtx_varies_p (x, from_alias) replace each register reference inside it with the "oldest" equivalent register. - If INSN is non-zero and we are replacing a pseudo with a hard register + If INSN is nonzero and we are replacing a pseudo with a hard register or vice versa, validate_change is used to ensure that INSN remains valid - after we make our substitution. The calls are made with IN_GROUP non-zero + after we make our substitution. The calls are made with IN_GROUP nonzero so apply_change_group must be called upon the outermost return from this function (unless INSN is zero). The result of apply_change_group can generally be discarded since the changes we are making are optional. */ @@ -3125,7 +3125,7 @@ find_comparison_args (code, parg1, parg2, pmode1, pmode2) while (arg2 == CONST0_RTX (GET_MODE (arg1))) { - /* Set non-zero when we find something of interest. */ + /* Set nonzero when we find something of interest. */ rtx x = 0; int reverse_code = 0; struct table_elt *p = 0; @@ -5004,7 +5004,7 @@ cse_insn (insn, libcall_insn) int src_folded_regcost = MAX_COST; int src_related_regcost = MAX_COST; int src_elt_regcost = MAX_COST; - /* Set non-zero if we need to call force_const_mem on with the + /* Set nonzero if we need to call force_const_mem on with the contents of src_folded before using it. */ int src_folded_force_flag = 0; @@ -5344,9 +5344,9 @@ cse_insn (insn, libcall_insn) if (src == src_folded) src_folded = 0; - /* At this point, ELT, if non-zero, points to a class of expressions + /* At this point, ELT, if nonzero, points to a class of expressions equivalent to the source of this SET and SRC, SRC_EQV, SRC_FOLDED, - and SRC_RELATED, if non-zero, each contain additional equivalent + and SRC_RELATED, if nonzero, each contain additional equivalent expressions. Prune these latter expressions by deleting expressions already in the equivalence class. @@ -6831,10 +6831,10 @@ cse_set_around_loop (x, insn, loop_start) the total number of SETs in all the insns of the block, the last insn of the block, and the branch path. - The branch path indicates which branches should be followed. If a non-zero + The branch path indicates which branches should be followed. If a nonzero path size is specified, the block should be rescanned and a different set of branches will be taken. The branch path is only used if - FLAG_CSE_FOLLOW_JUMPS or FLAG_CSE_SKIP_BLOCKS is non-zero. + FLAG_CSE_FOLLOW_JUMPS or FLAG_CSE_SKIP_BLOCKS is nonzero. DATA is a pointer to a struct cse_basic_block_data, defined below, that is used to describe the block. It is filled in with the information about @@ -6860,7 +6860,7 @@ cse_end_of_basic_block (insn, data, follow_jumps, after_loop, skip_blocks) /* Update the previous branch path, if any. If the last branch was previously TAKEN, mark it NOT_TAKEN. If it was previously NOT_TAKEN, shorten the path by one and look at the previous branch. We know that - at least one branch must have been taken if PATH_SIZE is non-zero. */ + at least one branch must have been taken if PATH_SIZE is nonzero. */ while (path_size > 0) { if (data->path[path_size - 1].status != NOT_TAKEN) @@ -7205,7 +7205,7 @@ cse_main (f, nregs, after_loop, file) block. NEXT_BRANCH points to the branch path when following jumps or a null path when not following jumps. - AROUND_LOOP is non-zero if we are to try to cse around to the start of a + AROUND_LOOP is nonzero if we are to try to cse around to the start of a loop. This is true when we are being called for the last time on a block and this CSE pass is before loop.c. */