diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 20 | ||||
-rw-r--r-- | gcc/collect2.c | 2 | ||||
-rw-r--r-- | gcc/diagnostic.c | 2 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 2 | ||||
-rw-r--r-- | gcc/eh-common.h | 2 | ||||
-rw-r--r-- | gcc/emit-rtl.c | 2 | ||||
-rw-r--r-- | gcc/flow.c | 21 | ||||
-rw-r--r-- | gcc/ggc-common.c | 2 | ||||
-rw-r--r-- | gcc/loop.c | 2 | ||||
-rw-r--r-- | gcc/rtl.h | 58 | ||||
-rw-r--r-- | gcc/rtlanal.c | 16 |
11 files changed, 102 insertions, 27 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a39db7b..0b5c012 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,23 @@ +2000-07-22 Jeffrey Oldham <oldham@codesourcery.com> + + * collect2.c (main): Typo fixed. + * diagnostic.c: Typo fixed. + * dwarf2out.c (dwarf2out_frame_debug_expr): Typo fixed. + * eh-common.h: Typo fixed. + * emit-rtl.c (start_sequence): Typo fixed. + * flow.c (find_label_refs): Typo fixed. + (calculate_global_regs_live): Typo fixed. + (mark_regno_cond_dead): Typo fixed. + (create_edge_list): Typos fixed. + (verify_edge_list): Typo fixed. + * ggc-common.c (ggc_mark_rtx_children): Typo fixed. + * loop.c (strength_reduce): Typo in function name fixed. + * rtl.h: Added comments. Typo in function name fixed. + * rtlanal.c: Typo in function name fixed. + (insn_dependant_p): Rename to ... + (insn_dependent_p): ... this. + (computed_jumo_p): Typo fixed. + 2000-07-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * system.h (__FUNCTION__): Wrap definition in #ifndef. diff --git a/gcc/collect2.c b/gcc/collect2.c index d68ac62..1337279 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -876,7 +876,7 @@ main (argc, argv) int num_c_args = argc+9; #if defined (COLLECT2_HOST_INITIALIZATION) - /* Perform system dependant initialization, if neccessary. */ + /* Perform system dependent initialization, if neccessary. */ COLLECT2_HOST_INITIALIZATION; #endif diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index 3fb6f6b..1afe545 100644 --- a/gcc/diagnostic.c +++ b/gcc/diagnostic.c @@ -20,7 +20,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* This file implements the language independant aspect of diagnostic +/* This file implements the language independent aspect of diagnostic message module. */ #include "config.h" diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 237c4a4..48aa336 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -1226,7 +1226,7 @@ dwarf2out_frame_debug_expr (expr, label) long offset; /* If RTX_FRAME_RELATED_P is set on a PARALLEL, process each member of - the PARALLEL independantly. The first element is always processed if + the PARALLEL independently. The first element is always processed if it is a SET. This is for backward compatability. Other elements are processed only if they are SETs and the RTX_FRAME_RELATED_P flag is set in them. */ diff --git a/gcc/eh-common.h b/gcc/eh-common.h index 5303d6d..dffe682 100644 --- a/gcc/eh-common.h +++ b/gcc/eh-common.h @@ -19,7 +19,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* This file contains the structures required for the language - independant exception handling model. Both the static compiler and + independent exception handling model. Both the static compiler and the runtime library share this file. */ /* The runtime flag flag_new_exceptions is used to determine whether the diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 18a016a..6d55a15 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -3494,7 +3494,7 @@ emit (x) pops have previously been deferred; see INHIBIT_DEFER_POP for more details), use do_pending_stack_adjust before calling this function. That will ensure that the deferred pops are not accidentally - emitted in the middel of this sequence. */ + emitted in the middle of this sequence. */ void start_sequence () @@ -535,9 +535,10 @@ count_basic_blocks (f) return count; } -/* Scan a list of insns for labels referrred to other than by jumps. +/* Scan a list of insns for labels referred to other than by jumps. This is used to scan the alternatives of a call placeholder. */ -static rtx find_label_refs (f, lvl) +static rtx +find_label_refs (f, lvl) rtx f; rtx lvl; { @@ -3188,7 +3189,7 @@ calculate_global_regs_live (blocks_in, blocks_out, flags) /* If any bits were removed from live_at_end, we'll have to rescan the block. This wouldn't be necessary if we had precalculated local_live, however with PROP_SCAN_DEAD_CODE - local_live is really dependant on live_at_end. */ + local_live is really dependent on live_at_end. */ CLEAR_REG_SET (tmp); rescan = bitmap_operation (tmp, bb->global_live_at_end, new_live_at_end, BITMAP_AND_COMPL); @@ -4554,7 +4555,7 @@ mark_regno_cond_dead (pbi, regno, cond) { /* If this is a store to a predicate register, the value of the predicate is changing, we don't know that the predicate as seen - before is the same as that seen after. Flush all dependant + before is the same as that seen after. Flush all dependent conditions from reg_cond_dead. This will make all such conditionally live registers unconditionally live. */ if (REGNO_REG_SET_P (pbi->reg_cond_reg, regno)) @@ -6575,16 +6576,16 @@ verify_flow_info () /* Functions to access an edge list with a vector representation. Enough data is kept such that given an index number, the - pred and succ that edge reprsents can be determined, or - given a pred and a succ, it's index number can be returned. - This allows algorithms which comsume a lot of memory to + pred and succ that edge represents can be determined, or + given a pred and a succ, its index number can be returned. + This allows algorithms which consume a lot of memory to represent the normally full matrix of edge (pred,succ) with a single indexed vector, edge (EDGE_INDEX (pred, succ)), with no wasted space in the client code due to sparse flow graphs. */ /* This functions initializes the edge list. Basically the entire flowgraph is processed, and all edges are assigned a number, - and the data structure is filed in. */ + and the data structure is filled in. */ struct edge_list * create_edge_list () { @@ -6676,7 +6677,7 @@ print_edge_list (f, elist) } } -/* This function provides an internal consistancy check of an edge list, +/* This function provides an internal consistency check of an edge list, verifying that all edges are present, and that there are no extra edges. */ void @@ -6904,7 +6905,7 @@ remove_fake_edges () remove_fake_successors (ENTRY_BLOCK_PTR); } -/* This functions will add a fake edge between any block which has no +/* This function will add a fake edge between any block which has no successors, and the exit block. Some data flow equations require these edges to exist. */ void diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c index fc8fb65..2fa3d10 100644 --- a/gcc/ggc-common.c +++ b/gcc/ggc-common.c @@ -220,7 +220,7 @@ ggc_mark_rtx_children (r) ggc_stats->size_rtxs[(int) code] += ggc_get_size (r); } - /* ??? If (some of) these are really pass-dependant info, do we + /* ??? If (some of) these are really pass-dependent info, do we have any right poking our noses in? */ switch (code) { @@ -4104,7 +4104,7 @@ strength_reduce (loop, insn_count, flags) { if (GET_CODE (next) == JUMP_INSN || (INSN_P (next) - && insn_dependant_p (giv_insn, next))) + && insn_dependent_p (giv_insn, next))) break; #ifdef HAVE_cc0 if (! INSN_P (next) @@ -754,7 +754,7 @@ extern const char * const note_insn_name[NOTE_INSN_MAX - NOTE_INSN_BIAS]; /* For a MEM rtx, 1 if it refers to an aggregate, either to the aggregate itself of to a field of the aggregate. If zero, RTX may - or may not be such a refrence. */ + or may not be such a reference. */ #define MEM_IN_STRUCT_P(RTX) ((RTX)->in_struct) /* For a MEM rtx, 1 if it refers to a scalar. If zero, RTX may or may @@ -1059,32 +1059,48 @@ extern rtx plus_constant_wide PARAMS ((rtx, HOST_WIDE_INT)); extern rtx plus_constant_for_output_wide PARAMS ((rtx, HOST_WIDE_INT)); extern void optimize_save_area_alloca PARAMS ((rtx)); +/* In emit-rtl.c */ extern rtx gen_rtx PARAMS ((enum rtx_code, enum machine_mode, ...)); extern rtvec gen_rtvec PARAMS ((int, ...)); +/* In other files */ extern char *oballoc PARAMS ((int)); extern char *permalloc PARAMS ((int)); extern rtx rtx_alloc PARAMS ((RTX_CODE)); extern rtvec rtvec_alloc PARAMS ((int)); extern rtx copy_insn_1 PARAMS ((rtx)); extern rtx copy_insn PARAMS ((rtx)); + +/* In rtl.c */ extern rtx copy_rtx PARAMS ((rtx)); + +/* In emit-rtl.c */ extern rtx copy_rtx_if_shared PARAMS ((rtx)); + +/* In rtl.c */ extern rtx copy_most_rtx PARAMS ((rtx, rtx)); extern rtx shallow_copy_rtx PARAMS ((rtx)); extern int rtx_equal_p PARAMS ((rtx, rtx)); + +/* In emit-rtl.c */ extern rtvec gen_rtvec_v PARAMS ((int, rtx *)); extern rtx gen_reg_rtx PARAMS ((enum machine_mode)); extern rtx gen_label_rtx PARAMS ((void)); extern rtx gen_lowpart_common PARAMS ((enum machine_mode, rtx)); extern rtx gen_lowpart PARAMS ((enum machine_mode, rtx)); + +/* In cse.c */ extern rtx gen_lowpart_if_possible PARAMS ((enum machine_mode, rtx)); + +/* In emit-rtl.c */ extern rtx gen_highpart PARAMS ((enum machine_mode, rtx)); extern rtx gen_realpart PARAMS ((enum machine_mode, rtx)); extern rtx gen_imagpart PARAMS ((enum machine_mode, rtx)); extern rtx operand_subword PARAMS ((rtx, unsigned int, int, enum machine_mode)); + +/* In emit-rtl.c */ extern rtx operand_subword_force PARAMS ((rtx, unsigned int, enum machine_mode)); extern int subreg_lowpart_p PARAMS ((rtx)); @@ -1101,24 +1117,35 @@ extern void end_sequence PARAMS ((void)); extern void push_to_full_sequence PARAMS ((rtx, rtx)); extern void end_full_sequence PARAMS ((rtx*, rtx*)); extern rtx gen_sequence PARAMS ((void)); + +/* In varasm.c */ extern rtx immed_double_const PARAMS ((HOST_WIDE_INT, HOST_WIDE_INT, enum machine_mode)); extern rtx force_const_mem PARAMS ((enum machine_mode, rtx)); + +/* In explow.c */ extern rtx force_reg PARAMS ((enum machine_mode, rtx)); + +/* In varasm.c */ extern rtx get_pool_constant PARAMS ((rtx)); extern enum machine_mode get_pool_mode PARAMS ((rtx)); extern rtx get_pool_constant_for_function PARAMS ((struct function *, rtx)); extern enum machine_mode get_pool_mode_for_function PARAMS ((struct function *, rtx)); extern int get_pool_offset PARAMS ((rtx)); extern rtx simplify_subtraction PARAMS ((rtx)); + +/* In function.c */ extern rtx assign_stack_local PARAMS ((enum machine_mode, HOST_WIDE_INT, int)); extern rtx assign_stack_temp PARAMS ((enum machine_mode, HOST_WIDE_INT, int)); extern rtx assign_temp PARAMS ((union tree_node *, int, int, int)); +/* In expr.c */ extern rtx protect_from_queue PARAMS ((rtx, int)); extern void emit_queue PARAMS ((void)); extern rtx emit_move_insn PARAMS ((rtx, rtx)); + +/* In emit-rtl.c */ extern rtx emit_insn_before PARAMS ((rtx, rtx)); extern rtx emit_jump_insn_before PARAMS ((rtx, rtx)); extern rtx emit_call_insn_before PARAMS ((rtx, rtx)); @@ -1156,13 +1183,19 @@ extern rtx prev_label PARAMS ((rtx)); extern rtx next_label PARAMS ((rtx)); extern rtx next_cc0_user PARAMS ((rtx)); extern rtx prev_cc0_setter PARAMS ((rtx)); + +/* In jump.c */ extern rtx next_nondeleted_insn PARAMS ((rtx)); extern enum rtx_code reverse_condition PARAMS ((enum rtx_code)); extern enum rtx_code reverse_condition_maybe_unordered PARAMS ((enum rtx_code)); extern enum rtx_code swap_condition PARAMS ((enum rtx_code)); extern enum rtx_code unsigned_condition PARAMS ((enum rtx_code)); extern enum rtx_code signed_condition PARAMS ((enum rtx_code)); + +/* In reload.c */ extern rtx find_equiv_reg PARAMS ((rtx, rtx, enum reg_class, int, short *, int, enum machine_mode)); + +/* In jump.c */ extern rtx squeeze_notes PARAMS ((rtx, rtx)); extern rtx delete_insn PARAMS ((rtx)); extern void delete_jump PARAMS ((rtx)); @@ -1170,9 +1203,17 @@ extern void delete_barrier PARAMS ((rtx)); extern rtx get_label_before PARAMS ((rtx)); extern rtx get_label_after PARAMS ((rtx)); extern rtx follow_jumps PARAMS ((rtx)); + +/* In recog.c */ extern rtx adj_offsettable_operand PARAMS ((rtx, int)); + +/* In emit-rtl.c */ extern rtx try_split PARAMS ((rtx, rtx, int)); + +/* In unknown file */ extern rtx split_insns PARAMS ((rtx, rtx)); + +/* In simplify-rtx.c */ extern rtx simplify_unary_operation PARAMS ((enum rtx_code, enum machine_mode, rtx, enum machine_mode)); extern rtx simplify_binary_operation PARAMS ((enum rtx_code, enum machine_mode, rtx, rtx)); extern rtx simplify_ternary_operation PARAMS ((enum rtx_code, enum machine_mode, enum machine_mode, rtx, rtx, rtx)); @@ -1180,17 +1221,30 @@ extern rtx simplify_relational_operation PARAMS ((enum rtx_code, enum machine_mo extern rtx simplify_gen_binary PARAMS ((enum rtx_code, enum machine_mode, rtx, rtx)); extern rtx simplify_rtx PARAMS ((rtx)); + +/* In optabs.c */ extern rtx gen_move_insn PARAMS ((rtx, rtx)); + extern rtx gen_jump PARAMS ((rtx)); extern rtx gen_beq PARAMS ((rtx)); extern rtx gen_bge PARAMS ((rtx)); extern rtx gen_ble PARAMS ((rtx)); + +/* In function.c */ extern rtx gen_mem_addressof PARAMS ((rtx, union tree_node *)); + +/* In explow.c */ extern rtx eliminate_constant_term PARAMS ((rtx, rtx *)); + +/* In optabs.c */ extern rtx expand_complex_abs PARAMS ((enum machine_mode, rtx, rtx, int)); + +/* In regclass.c */ extern enum machine_mode choose_hard_reg_mode PARAMS ((unsigned int, unsigned int)); + +/* In emit-rtl.c */ extern void set_unique_reg_note PARAMS ((rtx, enum reg_note, rtx)); /* Functions in rtlanal.c */ @@ -1210,7 +1264,7 @@ extern int modified_between_p PARAMS ((rtx, rtx, rtx)); extern int no_labels_between_p PARAMS ((rtx, rtx)); extern int no_jumps_between_p PARAMS ((rtx, rtx)); extern int modified_in_p PARAMS ((rtx, rtx)); -extern int insn_dependant_p PARAMS ((rtx, rtx)); +extern int insn_dependent_p PARAMS ((rtx, rtx)); extern int reg_set_p PARAMS ((rtx, rtx)); extern rtx single_set PARAMS ((rtx)); extern int multiple_sets PARAMS ((rtx)); diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 8af6c7c..e7cc12f 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -26,7 +26,7 @@ Boston, MA 02111-1307, USA. */ static int rtx_addr_can_trap_p PARAMS ((rtx)); static void reg_set_p_1 PARAMS ((rtx, rtx, void *)); -static void insn_dependant_p_1 PARAMS ((rtx, rtx, void *)); +static void insn_dependent_p_1 PARAMS ((rtx, rtx, void *)); static void reg_set_last_1 PARAMS ((rtx, rtx, void *)); @@ -689,11 +689,11 @@ modified_in_p (x, insn) return 0; } -/* Return true if anything in insn X is (anti,output,true) dependant on +/* Return true if anything in insn X is (anti,output,true) dependent on anything in insn Y. */ int -insn_dependant_p (x, y) +insn_dependent_p (x, y) rtx x, y; { rtx tmp; @@ -702,22 +702,22 @@ insn_dependant_p (x, y) abort (); tmp = PATTERN (y); - note_stores (PATTERN (x), insn_dependant_p_1, &tmp); + note_stores (PATTERN (x), insn_dependent_p_1, &tmp); if (tmp == NULL_RTX) return 1; tmp = PATTERN (x); - note_stores (PATTERN (y), insn_dependant_p_1, &tmp); + note_stores (PATTERN (y), insn_dependent_p_1, &tmp); if (tmp == NULL_RTX) return 1; return 0; } -/* A helper routine for insn_dependant_p called through note_stores. */ +/* A helper routine for insn_dependent_p called through note_stores. */ static void -insn_dependant_p_1 (x, pat, data) +insn_dependent_p_1 (x, pat, data) rtx x; rtx pat ATTRIBUTE_UNUSED; void *data; @@ -2113,7 +2113,7 @@ jmp_uses_reg_or_mem (x) /* Return nonzero if INSN is an indirect jump (aka computed jump). Tablejumps and casesi insns are not considered indirect jumps; - we can recognize them by a (use (lael_ref)). */ + we can recognize them by a (use (label_ref)). */ int computed_jump_p (insn) |