From aa40f56162c529feae5e13986bf6c46cf9b39245 Mon Sep 17 00:00:00 2001 From: kazu Date: Sun, 12 Aug 2001 23:40:53 +0000 Subject: [PATCH] * gcc.c: Fix comment formatting. * gccspec.c: Likewise. * gcov.c: Likewise. * gcse.c: Likewise. * genemit.c: Likewise. * gengenrtl.c: Likewise. * genrecog.c: Likewise. * gensupport.c: Likewise. * ggc-page.c: Likewise. * global.c: Likewise. * graph.c: Likewise. * ifcvt.c: Likewise. * integrate.c: Likewise. * lcm.c: Likewise. * libgcc2.c: Likewise. * loop.c: Likewise. * mbchar.c: Likewise. * optabs.c: Likewise. * predict.c: Likewise. * prefix.c: Likewise. * profile.c: Likewise. * protoize.c: Likewise. * real.c: Likewise. * recog.c: Likewise. * regclass.c: Likewise. * regmove.c: Likewise. * reg-stack.c: Likewise. * reload1.c: Likewise. * resource.c: Likewise. * rtlanal.c: Likewise. * rtl.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44837 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 34 ++++++++++++++++++++++++++++++++++ gcc/gcc.c | 8 ++++---- gcc/gccspec.c | 10 +++++----- gcc/gcov.c | 2 +- gcc/gcse.c | 14 +++++++------- gcc/genemit.c | 2 +- gcc/gengenrtl.c | 2 +- gcc/genrecog.c | 8 ++++---- gcc/gensupport.c | 2 +- gcc/ggc-page.c | 6 +++--- gcc/global.c | 2 +- gcc/graph.c | 2 +- gcc/ifcvt.c | 2 +- gcc/integrate.c | 4 ++-- gcc/lcm.c | 2 +- gcc/libgcc2.c | 4 ++-- gcc/loop.c | 2 +- gcc/mbchar.c | 4 ++-- gcc/optabs.c | 2 +- gcc/predict.c | 2 +- gcc/prefix.c | 2 +- gcc/profile.c | 24 ++++++++++++------------ gcc/protoize.c | 8 ++++---- gcc/real.c | 30 +++++++++++++++--------------- gcc/recog.c | 10 +++++----- gcc/reg-stack.c | 8 ++++---- gcc/regclass.c | 8 ++++---- gcc/regmove.c | 8 ++++---- gcc/reload1.c | 2 +- gcc/resource.c | 4 ++-- gcc/rtl.c | 4 ++-- gcc/rtlanal.c | 4 ++-- 32 files changed, 130 insertions(+), 96 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index becc0d2..6876e4c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,39 @@ 2001-08-12 Kazu Hirata + * gcc.c: Fix comment formatting. + * gccspec.c: Likewise. + * gcov.c: Likewise. + * gcse.c: Likewise. + * genemit.c: Likewise. + * gengenrtl.c: Likewise. + * genrecog.c: Likewise. + * gensupport.c: Likewise. + * ggc-page.c: Likewise. + * global.c: Likewise. + * graph.c: Likewise. + * ifcvt.c: Likewise. + * integrate.c: Likewise. + * lcm.c: Likewise. + * libgcc2.c: Likewise. + * loop.c: Likewise. + * mbchar.c: Likewise. + * optabs.c: Likewise. + * predict.c: Likewise. + * prefix.c: Likewise. + * profile.c: Likewise. + * protoize.c: Likewise. + * real.c: Likewise. + * recog.c: Likewise. + * regclass.c: Likewise. + * regmove.c: Likewise. + * reg-stack.c: Likewise. + * reload1.c: Likewise. + * resource.c: Likewise. + * rtlanal.c: Likewise. + * rtl.c: Likewise. + +2001-08-12 Kazu Hirata + * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how a tree representing a constant is passed to the macro. diff --git a/gcc/gcc.c b/gcc/gcc.c index 409ac2b..5d18063 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -185,7 +185,7 @@ static int print_help_list; static int verbose_flag; -/* Flag indicating to print target specific command line options. */ +/* Flag indicating to print target specific command line options. */ static int target_help_flag; @@ -3280,7 +3280,7 @@ process_command (argc, argv) } else if (strcmp (argv[i], "-ftarget-help") == 0) { - /* translate_options() has turned --target-help into -ftarget-help. */ + /* translate_options() has turned --target-help into -ftarget-help. */ target_help_flag = 1; /* We will be passing a dummy file on to the sub-processes. */ @@ -4004,7 +4004,7 @@ static int this_is_library_file; static int input_from_pipe; /* Nonnull means substitute this for any suffix when outputting a switches - arguments. */ + arguments. */ static const char *suffix_subst; /* Process the spec SPEC and run the commands specified therein. @@ -5879,7 +5879,7 @@ main (argc, argv) /* We do not exit here. Instead we have created a fake input file called 'target-dummy' which needs to be compiled, and we pass this on to the various sub-processes, along with the --target-help - switch. */ + switch. */ } if (print_help_list) diff --git a/gcc/gccspec.c b/gcc/gccspec.c index 8576ee0..88072ea 100644 --- a/gcc/gccspec.c +++ b/gcc/gccspec.c @@ -22,7 +22,7 @@ Boston, MA 02111-1307, USA. */ #include "system.h" #include "gcc.h" -/* Filter argc and argv before processing by the gcc driver proper. */ +/* Filter argc and argv before processing by the gcc driver proper. */ void lang_specific_driver (in_argc, in_argv, in_added_libraries) int *in_argc ATTRIBUTE_UNUSED; @@ -92,12 +92,12 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries) #endif } -/* Called before linking. Returns 0 on success and -1 on failure. */ +/* Called before linking. Returns 0 on success and -1 on failure. */ int lang_specific_pre_link () { - return 0; /* Not used for C. */ + return 0; /* Not used for C. */ } -/* Number of extra output files that lang_specific_pre_link may generate. */ -int lang_specific_extra_outfiles = 0; /* Not used for C. */ +/* Number of extra output files that lang_specific_pre_link may generate. */ +int lang_specific_extra_outfiles = 0; /* Not used for C. */ diff --git a/gcc/gcov.c b/gcc/gcov.c index ab21820..4fe37b2 100644 --- a/gcc/gcov.c +++ b/gcc/gcov.c @@ -851,7 +851,7 @@ scan_for_source_files () } else if (line_num < 0) { - /* Don't know what this is, but it's garbage. */ + /* Don't know what this is, but it's garbage. */ abort(); } } diff --git a/gcc/gcse.c b/gcc/gcse.c index 230242e..0c1bc3c 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -2391,7 +2391,7 @@ record_last_mem_set_info (insn) rtx insn; { /* load_killed_in_block_p will handle the case of calls clobbering - everything. */ + everything. */ modify_mem_list[BLOCK_NUM (insn)] = alloc_INSN_LIST (insn, modify_mem_list[BLOCK_NUM (insn)]); @@ -2399,7 +2399,7 @@ record_last_mem_set_info (insn) { /* Note that traversals of this loop (other than for free-ing) will break after encountering a CALL_INSN. So, there's no - need to insert a pair of items, as canon_list_insert does. */ + need to insert a pair of items, as canon_list_insert does. */ canon_modify_mem_list[BLOCK_NUM (insn)] = alloc_INSN_LIST (insn, canon_modify_mem_list[BLOCK_NUM (insn)]); } @@ -3208,7 +3208,7 @@ expr_reaches_here_p_work (occr, expr, bb, check_self_loop, visited) } /* This wrapper for expr_reaches_here_p_work() is to ensure that any - memory allocated for that function is returned. */ + memory allocated for that function is returned. */ static int expr_reaches_here_p (occr, expr, bb, check_self_loop) @@ -4116,7 +4116,7 @@ cprop_insn (bb, insn, alter_jumps) note = find_reg_equal_equiv_note (insn); - /* We may win even when propagating constants into notes. */ + /* We may win even when propagating constants into notes. */ if (note) find_used_regs (&XEXP (note, 0), NULL); @@ -4128,7 +4128,7 @@ cprop_insn (bb, insn, alter_jumps) struct expr *set; /* Ignore registers created by GCSE. - We do this because ... */ + We do this because ... */ if (regno >= max_gcse_regno) continue; @@ -4514,7 +4514,7 @@ pre_expr_reaches_here_p_work (occr_bb, expr, bb, visited) } /* The wrapper for pre_expr_reaches_here_work that ensures that any - memory allocated for that function is returned. */ + memory allocated for that function is returned. */ static int pre_expr_reaches_here_p (occr_bb, expr, bb) @@ -6673,7 +6673,7 @@ build_store_vectors () { if (store_killed_after (ptr->pattern, BLOCK_HEAD (b), BASIC_BLOCK (b))) { - /* The anticipatable expression is not killed if it's gen'd. */ + /* The anticipatable expression is not killed if it's gen'd. */ /* We leave this check out for now. If we have a code sequence in a block which looks like: diff --git a/gcc/genemit.c b/gcc/genemit.c index 354b42d..b7985ba 100644 --- a/gcc/genemit.c +++ b/gcc/genemit.c @@ -735,7 +735,7 @@ output_added_clobbers_hard_reg_p () } /* Generate code to invoke find_free_register () as needed for the - scratch registers used by the peephole2 pattern in SPLIT. */ + scratch registers used by the peephole2 pattern in SPLIT. */ static void output_peephole2_scratches (split) diff --git a/gcc/gengenrtl.c b/gcc/gengenrtl.c index d41e0d2..73615a8 100644 --- a/gcc/gengenrtl.c +++ b/gcc/gengenrtl.c @@ -212,7 +212,7 @@ special_rtx (idx) || strcmp (defs[idx].enumname, "MEM") == 0); } -/* Place a list of all format specifiers we use into the array FORMAT. */ +/* Place a list of all format specifiers we use into the array FORMAT. */ static void find_formats () diff --git a/gcc/genrecog.c b/gcc/genrecog.c index c3a7fea..0a02977 100644 --- a/gcc/genrecog.c +++ b/gcc/genrecog.c @@ -800,7 +800,7 @@ add_to_sequence (pattern, last, position, insn_type, top) switch (code) { case PARALLEL: - /* Toplevel peephole pattern. */ + /* Toplevel peephole pattern. */ if (insn_type == PEEPHOLE2 && top) { /* We don't need the node we just created -- unlink it. */ @@ -809,7 +809,7 @@ add_to_sequence (pattern, last, position, insn_type, top) for (i = 0; i < (size_t) XVECLEN (pattern, 0); i++) { /* Which insn we're looking at is represented by A-Z. We don't - ever use 'A', however; it is always implied. */ + ever use 'A', however; it is always implied. */ subpos[depth] = (i > 0 ? 'A' + i : 0); sub = add_to_sequence (XVECEXP (pattern, 0, i), @@ -1705,7 +1705,7 @@ find_afterward (head, real_afterward) new state, branch to node AFTERWARD if non-zero, otherwise return. Failure to move to the new state can only occur if we are trying to - match multiple insns and we try to step past the end of the stream. */ + match multiple insns and we try to step past the end of the stream. */ static void change_state (oldpos, newpos, afterward, indent) @@ -1734,7 +1734,7 @@ change_state (oldpos, newpos, afterward, indent) /* Go down to desired level. */ while (depth < ndepth) { - /* It's a different insn from the first one. */ + /* It's a different insn from the first one. */ if (newpos[depth] >= 'A' && newpos[depth] <= 'Z') { /* We can only fail if we're moving down the tree. */ diff --git a/gcc/gensupport.c b/gcc/gensupport.c index e03392b..73521d9 100644 --- a/gcc/gensupport.c +++ b/gcc/gensupport.c @@ -177,7 +177,7 @@ process_rtx (desc, lineno) rtvec attr; int i; - /* Create a split with values from the insn_and_split. */ + /* Create a split with values from the insn_and_split. */ split = rtx_alloc (DEFINE_SPLIT); i = XVECLEN (desc, 1); diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index df49b5709..09a4ff9 100644 --- a/gcc/ggc-page.c +++ b/gcc/ggc-page.c @@ -592,7 +592,7 @@ alloc_page (order) if (p != NULL) { - /* Recycle the allocated memory from this page ... */ + /* Recycle the allocated memory from this page ... */ *pp = p->next; page = p->page; @@ -987,7 +987,7 @@ ggc_set_mark (p) word = bit / HOST_BITS_PER_LONG; mask = (unsigned long) 1 << (bit % HOST_BITS_PER_LONG); - /* If the bit was previously set, skip it. */ + /* If the bit was previously set, skip it. */ if (entry->in_use_p[word] & mask) return 1; @@ -1053,7 +1053,7 @@ init_ggc () abort (); } - /* We have a good page, might as well hold onto it... */ + /* We have a good page, might as well hold onto it... */ e = (struct page_entry *) xcalloc (1, sizeof (struct page_entry)); e->bytes = G.pagesize; e->page = p; diff --git a/gcc/global.c b/gcc/global.c index 1fe4d82..a5900bb 100644 --- a/gcc/global.c +++ b/gcc/global.c @@ -75,7 +75,7 @@ Boston, MA 02111-1307, USA. */ 5. Allocate the variables in that order; each if possible into a preferred register, else into another register. */ -/* Number of pseudo-registers which are candidates for allocation. */ +/* Number of pseudo-registers which are candidates for allocation. */ static int max_allocno; diff --git a/gcc/graph.c b/gcc/graph.c index 0f9e4ef..c6af98a 100644 --- a/gcc/graph.c +++ b/gcc/graph.c @@ -80,7 +80,7 @@ label: \"basic block %d", } #if 0 - /* FIXME Should this be printed? It makes the graph significantly larger. */ + /* FIXME Should this be printed? It makes the graph significantly larger. */ /* Print the live-at-start register list. */ fputc ('\n', fp); diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index 6d7e085..ce13599 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -326,7 +326,7 @@ cond_exec_process_if_block (test_bb, then_bb, else_bb, join_bb) rtx then_end; /* last insn + 1 in THEN block */ rtx else_start = NULL_RTX; /* first insn in ELSE block or NULL */ rtx else_end = NULL_RTX; /* last insn + 1 in ELSE block */ - int max; /* max # of insns to convert. */ + int max; /* max # of insns to convert. */ int then_mod_ok; /* whether conditional mods are ok in THEN */ rtx true_expr; /* test for else block insns */ rtx false_expr; /* test for then block insns */ diff --git a/gcc/integrate.c b/gcc/integrate.c index 29c6809..c865f6f 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -71,7 +71,7 @@ extern struct obstack *function_maybepermanent_obstack; #endif -/* Private type used by {get/has}_func_hard_reg_initial_val. */ +/* Private type used by {get/has}_func_hard_reg_initial_val. */ typedef struct initial_value_pair { rtx hard_reg; rtx pseudo; @@ -2006,7 +2006,7 @@ copy_rtx_and_substitute (orig, map, for_lhs) if (NOTE_LINE_NUMBER (orig) != NOTE_INSN_DELETED_LABEL) break; - /* ... FALLTHRU ... */ + /* ... FALLTHRU ... */ case CODE_LABEL: LABEL_PRESERVE_P (get_label_from_map (map, CODE_LABEL_NUMBER (orig))) = LABEL_PRESERVE_P (orig); diff --git a/gcc/lcm.c b/gcc/lcm.c index d90fd4f..0f48d6c 100644 --- a/gcc/lcm.c +++ b/gcc/lcm.c @@ -307,7 +307,7 @@ compute_laterin (edge_list, earliest, antloc, later, laterin) qin = worklist; /* Note that we do not use the last allocated element for our queue, as EXIT_BLOCK is never inserted into it. In fact the above allocation - of n_basic_blocks + 1 elements is not encessary. */ + of n_basic_blocks + 1 elements is not encessary. */ qend = &worklist[n_basic_blocks]; qlen = n_basic_blocks; diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index 0ab29f7..1c6685f 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -2654,11 +2654,11 @@ __clear_insn_cache (void) int save_errno; /* Preserve errno, because users would be surprised to have - errno changing without explicitly calling any system-call. */ + errno changing without explicitly calling any system-call. */ save_errno = errno; /* Keep it simple : memctl (MCT_TEXT) always fully clears the insn cache. - No need to use an address derived from _start or %sp, as 0 works also. */ + No need to use an address derived from _start or %sp, as 0 works also. */ memctl(0, 4096, MCT_TEXT); errno = save_errno; #endif diff --git a/gcc/loop.c b/gcc/loop.c index ca06a08..f9a17af 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -1604,7 +1604,7 @@ rtx_equal_for_loop_p (x, y, movables, regs) /* If X contains any LABEL_REF's, add REG_LABEL notes for them to all insns in INSNS which use the reference. LABEL_NUSES for CODE_LABEL - references is incremented once for each added note. */ + references is incremented once for each added note. */ static void add_label_notes (x, insns) diff --git a/gcc/mbchar.c b/gcc/mbchar.c index f5f7bec..5842298 100644 --- a/gcc/mbchar.c +++ b/gcc/mbchar.c @@ -184,7 +184,7 @@ local_mbtowc (pwc, s, n) if (s == NULL) { save_state = ASCII; - /* State-dependent. */ + /* State-dependent. */ return 1; } @@ -283,7 +283,7 @@ local_mbtowc (pwc, s, n) return 1; #else - /* This must be the "C" locale or unknown locale. */ + /* This must be the "C" locale or unknown locale. */ return mbtowc (pwc, s, n); #endif } diff --git a/gcc/optabs.c b/gcc/optabs.c index 84cf56d..fd75ba1 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */ #include "toplev.h" /* Include insn-config.h before expr.h so that HAVE_conditional_move - is properly defined. */ + is properly defined. */ #include "insn-config.h" #include "rtl.h" #include "tree.h" diff --git a/gcc/predict.c b/gcc/predict.c index a512377..128556c 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -87,7 +87,7 @@ struct predictor_info struct predictor_info predictor_info[] = { #include "predict.def" - /* Upper bound on predictors. */ + /* Upper bound on predictors. */ {NULL, 0, 0} }; #undef DEF_PREDICTOR diff --git a/gcc/prefix.c b/gcc/prefix.c index 7cb2e7b..5fa47e7 100644 --- a/gcc/prefix.c +++ b/gcc/prefix.c @@ -300,7 +300,7 @@ UPDATE_PATH_HOST_CANONICALIZE (path, key); #endif #ifdef DIR_SEPARATOR_2 - /* Convert DIR_SEPARATOR_2 to DIR_SEPARATOR. */ + /* Convert DIR_SEPARATOR_2 to DIR_SEPARATOR. */ if (DIR_SEPARATOR != DIR_SEPARATOR_2) { char *new_path = xstrdup (path); diff --git a/gcc/profile.c b/gcc/profile.c index dbde892..90327ca 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -84,10 +84,10 @@ static FILE *bbg_file; static FILE *da_file; -/* Pointer of the output file for the basic block/line number map. */ +/* Pointer of the output file for the basic block/line number map. */ static FILE *bb_file; -/* Last source file name written to bb_file. */ +/* Last source file name written to bb_file. */ static char *last_bb_file_name; @@ -121,7 +121,7 @@ static basic_block find_group PARAMS ((basic_block)); static void union_groups PARAMS ((basic_block, basic_block)); /* If non-zero, we need to output a constructor to set up the - per-object-file data. */ + per-object-file data. */ static int need_func_profiler = 0; /* Add edge instrumentation code to the entire insn chain. @@ -702,12 +702,12 @@ branch_prob () /* Create spanning tree from basic block graph, mark each edge that is on the spanning tree. We insert as many abnormal and critical edges - as possible to minimize number of edge splits necesary. */ + as possible to minimize number of edge splits necesary. */ find_spanning_tree (el); /* Fake edges that are not on the tree will not be instrumented, so - mark them ignored. */ + mark them ignored. */ for (i = 0; i < num_edges; i++) { edge e = INDEX_EDGE (el, i); @@ -807,7 +807,7 @@ branch_prob () } /* Union find algorithm implementation for the basic blocks using - aux fields. */ + aux fields. */ static basic_block find_group (bb) @@ -995,7 +995,7 @@ end_branch_prob () long temp; /* This seems slightly dangerous, as it presumes the EOF flag will not be set until an attempt is made to read - past the end of the file. */ + past the end of the file. */ if (feof (da_file)) error (".da file contents exhausted too early"); /* Should be at end of file now. */ @@ -1083,7 +1083,7 @@ gen_edge_profiler (edgeno) } /* Output code for a constructor that will invoke __bb_init_func, if - this has not already been done. */ + this has not already been done. */ void output_func_start_profiler () @@ -1100,18 +1100,18 @@ output_func_start_profiler () int save_flag_branch_probabilities = flag_branch_probabilities; /* It's either already been output, or we don't need it because we're - not doing profile-edges. */ + not doing profile-edges. */ if (! need_func_profiler) return; need_func_profiler = 0; /* Synthesize a constructor function to invoke __bb_init_func with a - pointer to this object file's profile block. */ + pointer to this object file's profile block. */ /* Try and make a unique name given the "file function name". - And no, I don't like this either. */ + And no, I don't like this either. */ fnname = get_file_function_name ('I'); cfnname = IDENTIFIER_POINTER (fnname); @@ -1141,7 +1141,7 @@ output_func_start_profiler () pushlevel (0); expand_function_start (fndecl, 0); - /* Actually generate the code to call __bb_init_func. */ + /* Actually generate the code to call __bb_init_func. */ ASM_GENERATE_INTERNAL_LABEL (buf, "LPBX", 0); table_address = force_reg (Pmode, gen_rtx_SYMBOL_REF (Pmode, ggc_strdup (buf))); diff --git a/gcc/protoize.c b/gcc/protoize.c index 08ec752..818b6db 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -34,7 +34,7 @@ Boston, MA 02111-1307, USA. */ #undef abort #include "version.h" -/* Include getopt.h for the sake of getopt_long. */ +/* Include getopt.h for the sake of getopt_long. */ #include "getopt.h" /* Macro to see if the path elements match. */ @@ -1173,7 +1173,7 @@ continue_outer: ; return (got_unexpanded ? savestring (line_buf, copy_p - line_buf) : 0); } -/* Return 1 if pathname is absolute. */ +/* Return 1 if pathname is absolute. */ static int is_abspath (path) @@ -2237,7 +2237,7 @@ start_over: ; fd_flags = O_RDONLY; #ifdef O_BINARY - /* Use binary mode to avoid having to deal with different EOL characters. */ + /* Use binary mode to avoid having to deal with different EOL characters. */ fd_flags |= O_BINARY; #endif if ((aux_info_file = open (aux_info_filename, fd_flags, 0444 )) == -1) @@ -4191,7 +4191,7 @@ edit_file (hp) fd_flags = O_RDONLY; #ifdef O_BINARY - /* Use binary mode to avoid having to deal with different EOL characters. */ + /* Use binary mode to avoid having to deal with different EOL characters. */ fd_flags |= O_BINARY; #endif if ((input_file = open (convert_filename, fd_flags, 0444)) == -1) diff --git a/gcc/real.c b/gcc/real.c index 9dd6ba9..424f0ef 100644 --- a/gcc/real.c +++ b/gcc/real.c @@ -5311,7 +5311,7 @@ asctoeg (ss, y, oprec) /* Exponent interpretation */ expnt: - /* 0.0eXXX is zero, regardless of XXX. Check for the 0.0. */ + /* 0.0eXXX is zero, regardless of XXX. Check for the 0.0. */ for (k = 0; k < NI; k++) { if (yy[k] != 0) @@ -6016,7 +6016,7 @@ c4xtoe (d, e, mode) int i; int carry; - /* Short-circuit the zero case. */ + /* Short-circuit the zero case. */ if ((d[0] == 0x8000) && (d[1] == 0x0000) && ((mode == QFmode) || ((d[2] == 0x0000) && (d[3] == 0x0000)))) @@ -6043,7 +6043,7 @@ c4xtoe (d, e, mode) } r >>= 8; /* Shift exponent word down 8 bits. */ - if (r & 0x80) /* Make the exponent negative if it is. */ + if (r & 0x80) /* Make the exponent negative if it is. */ { r = r | (~0 & ~0xff); } @@ -6070,7 +6070,7 @@ c4xtoe (d, e, mode) /* Now do the two's complement on the data. */ - carry = 1; /* Initially add 1 for the two's complement. */ + carry = 1; /* Initially add 1 for the two's complement. */ for (i=size + M; i > M; i--) { if (carry && (y[i] == 0x0000)) @@ -6130,10 +6130,10 @@ etoc4x (x, d, mode) emovi (x, xi); - /* Adjust exponent for offsets. */ + /* Adjust exponent for offsets. */ exp = (EMULONG) xi[E] - (EXONE - 0x7f); - /* Round off to nearest or even. */ + /* Round off to nearest or even. */ rndsav = rndprc; rndprc = mode == QFmode ? 24 : 32; emdnorm (xi, 0, 0, exp, 64); @@ -6158,7 +6158,7 @@ toc4x (x, y, mode) /* Only check for double if necessary */ && ((mode == QFmode) || ((x[M+2] == 0) && (x[M+3] == 0)))) { - /* We have a zero. Put it into the output and return. */ + /* We have a zero. Put it into the output and return. */ *y++ = 0x8000; *y++ = 0x0000; if (mode != QFmode) @@ -6172,14 +6172,14 @@ toc4x (x, y, mode) *y = 0; /* Negative number require a two's complement conversion of the - mantissa. */ + mantissa. */ if (x[0]) { *y = 0x0080; i = ((int) x[1]) - 0x7f; - /* Now add 1 to the inverted data to do the two's complement. */ + /* Now add 1 to the inverted data to do the two's complement. */ if (mode != QFmode) v = 4 + M; else @@ -6202,11 +6202,11 @@ toc4x (x, y, mode) /* The following is a special case. The C4X negative float requires a zero in the high bit (because the format is (2 - x) x 2^m), so if a one is in that bit, we have to shift left one to get rid - of it. This only occurs if the number is -1 x 2^m. */ + of it. This only occurs if the number is -1 x 2^m. */ if (x[M+1] & 0x8000) { /* This is the case of -1 x 2^m, we have to rid ourselves of the - high sign bit and shift the exponent. */ + high sign bit and shift the exponent. */ eshift(x, 1); i--; } @@ -6376,9 +6376,9 @@ ereal_unto_float (f) s[0] = (unsigned EMUSHORT) f; s[1] = (unsigned EMUSHORT) (f >> 16); } - /* Convert and promote the target float to E-type. */ + /* Convert and promote the target float to E-type. */ e24toe (s, e); - /* Output E-type to REAL_VALUE_TYPE. */ + /* Output E-type to REAL_VALUE_TYPE. */ PUT_REAL (e, &r); return r; } @@ -6411,9 +6411,9 @@ ereal_unto_double (d) s[2] = (unsigned EMUSHORT) d[1]; s[3] = (unsigned EMUSHORT) (d[1] >> 16); } - /* Convert target double to E-type. */ + /* Convert target double to E-type. */ e53toe (s, e); - /* Output E-type to REAL_VALUE_TYPE. */ + /* Output E-type to REAL_VALUE_TYPE. */ PUT_REAL (e, &r); return r; } diff --git a/gcc/recog.c b/gcc/recog.c index fc349dd..283713b 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -1065,7 +1065,7 @@ register_operand (op, mode) } /* If we have an ADDRESSOF, consider it valid since it will be - converted into something that will not be a MEM. */ + converted into something that will not be a MEM. */ if (GET_CODE (op) == ADDRESSOF) return 1; @@ -1984,11 +1984,11 @@ offsettable_address_p (strictp, mode, y) int mode_dependent_address_p (addr) - rtx addr ATTRIBUTE_UNUSED; /* Maybe used in GO_IF_MODE_DEPENDENT_ADDRESS. */ + rtx addr ATTRIBUTE_UNUSED; /* Maybe used in GO_IF_MODE_DEPENDENT_ADDRESS. */ { GO_IF_MODE_DEPENDENT_ADDRESS (addr, win); return 0; - /* Label `win' might (not) be used via GO_IF_MODE_DEPENDENT_ADDRESS. */ + /* Label `win' might (not) be used via GO_IF_MODE_DEPENDENT_ADDRESS. */ win: ATTRIBUTE_UNUSED_LABEL return 1; } @@ -2012,7 +2012,7 @@ mode_independent_operand (op, mode) addr = XEXP (op, 0); GO_IF_MODE_DEPENDENT_ADDRESS (addr, lose); return 1; - /* Label `lose' might (not) be used via GO_IF_MODE_DEPENDENT_ADDRESS. */ + /* Label `lose' might (not) be used via GO_IF_MODE_DEPENDENT_ADDRESS. */ lose: ATTRIBUTE_UNUSED_LABEL return 0; } @@ -2988,7 +2988,7 @@ peep2_find_free_register (from, to, class_str, mode, reg_set) return NULL_RTX; } -/* Perform the peephole2 optimization pass. */ +/* Perform the peephole2 optimization pass. */ void peephole2_optimize (dump_file) diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index 54a8ab2..b859cd7 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -1217,7 +1217,7 @@ move_for_stack_reg (insn, regstack, pat) /* Swap the condition on a branch, if there is one. Return true if we found a condition to swap. False if the condition was not used as - such. */ + such. */ static int swap_rtx_condition_1 (pat) @@ -1773,13 +1773,13 @@ subst_stack_regs_pat (insn, regstack, pat) break; case IF_THEN_ELSE: - /* This insn requires the top of stack to be the destination. */ + /* This insn requires the top of stack to be the destination. */ /* If the comparison operator is an FP comparison operator, it is handled correctly by compare_for_stack_reg () who will move the destination to the top of stack. But if the comparison operator is not an FP comparison operator, we - have to handle it here. */ + have to handle it here. */ if (get_hard_regnum (regstack, *dest) >= FIRST_STACK_REG && REGNO (*dest) != regstack->reg[regstack->top]) emit_swap_insn (insn, regstack, *dest); @@ -1826,7 +1826,7 @@ subst_stack_regs_pat (insn, regstack, pat) } /* Make dest the top of stack. Add dest to regstack if - not present. */ + not present. */ if (get_hard_regnum (regstack, *dest) < FIRST_STACK_REG) regstack->reg[++regstack->top] = REGNO (*dest); SET_HARD_REG_BIT (regstack->reg_set, REGNO (*dest)); diff --git a/gcc/regclass.c b/gcc/regclass.c index b8f1b54..021756a 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -265,7 +265,7 @@ struct reg_info_data { static struct reg_info_data *reg_info_head; /* No more global register variables may be declared; true once - regclass has been initialized. */ + regclass has been initialized. */ static int no_global_reg_vars = 0; @@ -633,7 +633,7 @@ memory_move_secondary_cost (mode, class, in) enum reg_class altclass; int partial_cost = 0; /* We need a memory reference to feed to SECONDARY... macros. */ - /* mem may be unused even if the SECONDARY_ macros are defined. */ + /* mem may be unused even if the SECONDARY_ macros are defined. */ rtx mem ATTRIBUTE_UNUSED = top_of_stack[(int) mode]; @@ -848,7 +848,7 @@ static struct costs init_cost; static struct reg_pref *reg_pref; -/* Allocated buffers for reg_pref. */ +/* Allocated buffers for reg_pref. */ static struct reg_pref *reg_pref_buffer; @@ -908,7 +908,7 @@ regclass_init () before regclass is run. */ reg_pref = NULL; - /* No more global register variables may be declared. */ + /* No more global register variables may be declared. */ no_global_reg_vars = 1; } diff --git a/gcc/regmove.c b/gcc/regmove.c index ac1675e..484c391 100644 --- a/gcc/regmove.c +++ b/gcc/regmove.c @@ -437,7 +437,7 @@ optimize_reg_copy_1 (insn, dest, src) int sregno = REGNO (src); int dregno = REGNO (dest); - /* We don't want to mess with hard regs if register classes are small. */ + /* We don't want to mess with hard regs if register classes are small. */ if (sregno == dregno || (SMALL_REGISTER_CLASSES && (sregno < FIRST_PSEUDO_REGISTER @@ -1225,7 +1225,7 @@ regmove_optimize (f, nregs, regmove_dump_file) if (recog_data.operand[match_no] != SET_DEST (set)) continue; - /* If the operands already match, then there is nothing to do. */ + /* If the operands already match, then there is nothing to do. */ if (operands_match_p (src, dst)) continue; @@ -1304,7 +1304,7 @@ regmove_optimize (f, nregs, regmove_dump_file) || RTX_UNCHANGING_P (dst)) continue; - /* If the operands already match, then there is nothing to do. */ + /* If the operands already match, then there is nothing to do. */ if (operands_match_p (src, dst)) continue; @@ -2007,7 +2007,7 @@ fixup_match_1 (insn, set, src, src_subreg, dst, backward, operand_number, { /* ??? We can't scan past the end of a basic block without updating the register lifetime info - (REG_DEAD/basic_block_live_at_start). */ + (REG_DEAD/basic_block_live_at_start). */ if (perhaps_ends_bb_p (q)) break; else if (! INSN_P (q)) diff --git a/gcc/reload1.c b/gcc/reload1.c index e2f895a..ded6943 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -9067,7 +9067,7 @@ static int reg_set_luid[FIRST_PSEUDO_REGISTER]; reg_offset[n] in mode reg_mode[n] . If reg_base_reg[n] is non-negative, register n has been set to the sum of reg_offset[n] and the value of register reg_base_reg[n] - before reg_set_luid[n], calculated in mode reg_mode[n] . */ + before reg_set_luid[n], calculated in mode reg_mode[n] . */ static HOST_WIDE_INT reg_offset[FIRST_PSEUDO_REGISTER]; static int reg_base_reg[FIRST_PSEUDO_REGISTER]; static enum machine_mode reg_mode[FIRST_PSEUDO_REGISTER]; diff --git a/gcc/resource.c b/gcc/resource.c index 7a16e8b..af701b9 100644 --- a/gcc/resource.c +++ b/gcc/resource.c @@ -1128,7 +1128,7 @@ mark_target_live_regs (insns, target, res) /* If we hit an unconditional branch, we have another way of finding out what is live: we can see what is live at the branch target and include anything used but not set before the branch. We add the live - resources found using the test below to those found until now. */ + resources found using the test below to those found until now. */ if (jump_insn) { @@ -1304,7 +1304,7 @@ incr_ticks_for_insn (insn) } /* Add TRIAL to the set of resources used at the end of the current - function. */ + function. */ void mark_end_of_function_resources (trial, include_delayed_effects) rtx trial; diff --git a/gcc/rtl.c b/gcc/rtl.c index 93cfb44..49ae05b 100644 --- a/gcc/rtl.c +++ b/gcc/rtl.c @@ -239,7 +239,7 @@ const char * const rtx_format[] = { "u" a pointer to another insn prints the uid of the insn. "b" is a pointer to a bitmap header. - "t" is a tree pointer. */ + "t" is a tree pointer. */ #define DEF_RTL_EXPR(ENUM, NAME, FORMAT, CLASS) FORMAT , #include "rtl.def" /* rtl expressions are defined here */ @@ -518,7 +518,7 @@ copy_most_rtx (orig, may_share) break; case '0': - /* Copy this through the wide int field; that's safest. */ + /* Copy this through the wide int field; that's safest. */ X0WINT (copy, i) = X0WINT (orig, i); break; diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index fbb393d..8fe3a4b 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -2224,7 +2224,7 @@ replace_rtx (x, from, to) register const char *fmt; /* The following prevents loops occurrence when we change MEM in - CONST_DOUBLE onto the same CONST_DOUBLE. */ + CONST_DOUBLE onto the same CONST_DOUBLE. */ if (x != 0 && GET_CODE (x) == CONST_DOUBLE) return x; @@ -2773,7 +2773,7 @@ subreg_regno_offset (xregno, xmode, offset, ymode) return ret; } -/* Return the final regno that a subreg expression refers to. */ +/* Return the final regno that a subreg expression refers to. */ unsigned int subreg_regno (x) rtx x; -- 2.7.4