Fix typos.
2013-07-21 OndÅej BÃlka <neleai@seznam.cz> * c-common.c: Fix typos. * c-common.h: Likewise. From-SVN: r201110
This commit is contained in:
parent
1aa95df742
commit
688010bad0
|
@ -221,7 +221,7 @@ static GTY(()) tree shadow_ptr_types[2];
|
|||
/* This type represents a reference to a memory region. */
|
||||
struct asan_mem_ref
|
||||
{
|
||||
/* The expression of the begining of the memory region. */
|
||||
/* The expression of the beginning of the memory region. */
|
||||
tree start;
|
||||
|
||||
/* The size of the access (can be 1, 2, 4, 8, 16 for now). */
|
||||
|
|
|
@ -594,7 +594,7 @@ find_traces_1_round (int branch_th, int exec_th, gcov_type count_th,
|
|||
|
||||
After removing the best edge, the final result will be ABCD/ ACBD.
|
||||
It does not add jump compared with the previous order. But it
|
||||
reduces the possiblity of long jumps. */
|
||||
reduces the possibility of long jumps. */
|
||||
if (best_edge && for_size
|
||||
&& (EDGE_COUNT (best_edge->dest->succs) > 1
|
||||
|| EDGE_COUNT (best_edge->dest->preds) > 1))
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2013-07-21 OndÅej BÃlka <neleai@seznam.cz>
|
||||
|
||||
* c-common.c: Fix typos.
|
||||
* c-common.h: Likewise.
|
||||
|
||||
2013-07-13 Lubos Lunak <l.lunak@suse.cz>
|
||||
|
||||
PR c++/55203
|
||||
|
|
|
@ -10163,7 +10163,7 @@ get_atomic_generic_size (location_t loc, tree function,
|
|||
{
|
||||
int size;
|
||||
tree type = TREE_TYPE ((*params)[x]);
|
||||
/* __atomic_compare_exchange has a bool in the 4th postion, skip it. */
|
||||
/* __atomic_compare_exchange has a bool in the 4th position, skip it. */
|
||||
if (n_param == 6 && x == 3)
|
||||
continue;
|
||||
if (!POINTER_TYPE_P (type))
|
||||
|
|
|
@ -1127,7 +1127,7 @@ extern void convert_vector_to_pointer_for_subscript (location_t, tree*, tree);
|
|||
|
||||
/* Possibe cases of scalar_to_vector conversion. */
|
||||
enum stv_conv {
|
||||
stv_error, /* Error occured. */
|
||||
stv_error, /* Error occurred. */
|
||||
stv_nothing, /* Nothing happened. */
|
||||
stv_firstarg, /* First argument must be expanded. */
|
||||
stv_secondarg /* Second argument must be expanded. */
|
||||
|
|
|
@ -59,7 +59,7 @@ struct GTY(()) symtab_node_base
|
|||
/* True when alias is a weakref. */
|
||||
unsigned weakref : 1;
|
||||
/* C++ frontend produce same body aliases and extra name aliases for
|
||||
virutal functions and vtables that are obviously equivalent.
|
||||
virtual functions and vtables that are obviously equivalent.
|
||||
Those aliases are bit special, especially because C++ frontend
|
||||
visibility code is so ugly it can not get them right at first time
|
||||
and their visibility needs to be copied from their "masters" at
|
||||
|
|
|
@ -83,7 +83,7 @@ along with GCC; see the file COPYING3. If not see
|
|||
b) early small interprocedural passes.
|
||||
|
||||
Those are interprocedural passes executed only at compilation
|
||||
time. These include, for exmaple, transational memory lowering,
|
||||
time. These include, for example, transational memory lowering,
|
||||
unreachable code removal and other simple transformations.
|
||||
|
||||
c) IP analysis stage. All interprocedural passes do their
|
||||
|
|
|
@ -196,7 +196,7 @@ enum memmodel
|
|||
MEMMODEL_LAST = 6
|
||||
};
|
||||
|
||||
/* Suppose that higher bits are target dependant. */
|
||||
/* Suppose that higher bits are target dependent. */
|
||||
#define MEMMODEL_MASK ((1<<16)-1)
|
||||
|
||||
/* Support for user-provided GGC and PCH markers. The first parameter
|
||||
|
|
|
@ -417,7 +417,7 @@ walk_mems_1 (rtx *x, rtx *pat)
|
|||
{
|
||||
if (MEM_P (*x))
|
||||
{
|
||||
/* Visit all MEMs in *PAT and check indepedence. */
|
||||
/* Visit all MEMs in *PAT and check independence. */
|
||||
if (for_each_rtx (pat, (rtx_function) walk_mems_2, *x))
|
||||
/* Indicate that dependence was determined and stop traversal. */
|
||||
return 1;
|
||||
|
|
|
@ -961,7 +961,7 @@ df_worklist_propagate_backward (struct dataflow *dataflow,
|
|||
DATAFLOW is problem we are solving, PENDING is worklist of basic blocks we
|
||||
need to visit.
|
||||
BLOCK_IN_POSTORDER is array of size N_BLOCKS specifying postorder in BBs and
|
||||
BBINDEX_TO_POSTORDER is array mapping back BB->index to postorder possition.
|
||||
BBINDEX_TO_POSTORDER is array mapping back BB->index to postorder position.
|
||||
PENDING will be freed.
|
||||
|
||||
The worklists are bitmaps indexed by postorder positions.
|
||||
|
|
|
@ -115,7 +115,7 @@ df_print_bb_index (basic_block bb, FILE *file)
|
|||
block. The id field in the ref is used to index into these sets.
|
||||
See df.h for details.
|
||||
|
||||
If the DF_RD_PRUNE_DEAD_DEFS changable flag is set, only DEFs reaching
|
||||
If the DF_RD_PRUNE_DEAD_DEFS changeable flag is set, only DEFs reaching
|
||||
existing uses are included in the global reaching DEFs set, or in other
|
||||
words only DEFs that are still live. This is a kind of pruned version
|
||||
of the traditional reaching definitions problem that is much less
|
||||
|
|
|
@ -190,7 +190,7 @@ struct double_int
|
|||
bool operator == (double_int cst2) const;
|
||||
bool operator != (double_int cst2) const;
|
||||
|
||||
/* Please migrate away from using these member variables publically. */
|
||||
/* Please migrate away from using these member variables publicly. */
|
||||
|
||||
unsigned HOST_WIDE_INT low;
|
||||
HOST_WIDE_INT high;
|
||||
|
|
|
@ -22703,7 +22703,7 @@ string_cst_pool_decl (tree t)
|
|||
of exprloc or after DW_OP_{,bit_}piece, and val_addr can't be
|
||||
resolved. Replace it (both DW_OP_addr and DW_OP_stack_value)
|
||||
with DW_OP_GNU_implicit_pointer if possible
|
||||
and return true, if unsuccesful, return false. */
|
||||
and return true, if unsuccessful, return false. */
|
||||
|
||||
static bool
|
||||
optimize_one_addr_into_implicit_ptr (dw_loc_descr_ref loc)
|
||||
|
|
|
@ -3323,7 +3323,7 @@ hoist_code (void)
|
|||
}
|
||||
}
|
||||
else
|
||||
/* Punt, no point hoisting a single occurence. */
|
||||
/* Punt, no point hoisting a single occurrence. */
|
||||
occrs_to_hoist.release ();
|
||||
|
||||
if (flag_ira_hoist_pressure
|
||||
|
|
|
@ -335,7 +335,7 @@ main (int argc, char **argv)
|
|||
printf ("typedef void *state_t;\n\n");
|
||||
}
|
||||
|
||||
/* Special-purpose atributes should be tested with if, not #ifdef. */
|
||||
/* Special-purpose attributes should be tested with if, not #ifdef. */
|
||||
const char * const special_attrs[] = { "length", "enabled", 0 };
|
||||
for (const char * const *p = special_attrs; *p; p++)
|
||||
{
|
||||
|
|
|
@ -244,7 +244,7 @@ s_expr_writer::write_any_indent (int leading_spaces)
|
|||
}
|
||||
|
||||
/* Write the beginning of a new s-expresion e.g. "(!foo "
|
||||
The writer automatically adds whitespace to show the hierachical
|
||||
The writer automatically adds whitespace to show the hierarchical
|
||||
structure of the expressions, so each one starts on a new line,
|
||||
and any within it will be at an increased indentation level. */
|
||||
void
|
||||
|
|
|
@ -2699,7 +2699,7 @@ get_base_constructor (tree base, HOST_WIDE_INT *bit_offset,
|
|||
{
|
||||
tree init = ctor_for_folding (base);
|
||||
|
||||
/* Our semantic is exact oposite of ctor_for_folding;
|
||||
/* Our semantic is exact opposite of ctor_for_folding;
|
||||
NULL means unknown, while error_mark_node is 0. */
|
||||
if (init == error_mark_node)
|
||||
return NULL_TREE;
|
||||
|
|
|
@ -165,9 +165,9 @@ getTileMap(isl_ctx *ctx, int scheduleDimensions, int tileSize)
|
|||
tileMap = isl_basic_map_add_constraint(tileMap, c);
|
||||
}
|
||||
|
||||
/* Project out auxilary dimensions.
|
||||
/* Project out auxiliary dimensions.
|
||||
|
||||
The auxilary dimensions are transformed into existentially quantified ones.
|
||||
The auxiliary dimensions are transformed into existentially quantified ones.
|
||||
This reduces the number of visible scattering dimensions and allows Cloog
|
||||
to produces better code. */
|
||||
tileMap = isl_basic_map_project_out(tileMap, isl_dim_out,
|
||||
|
|
|
@ -53,7 +53,7 @@ enum inline_hints_vals {
|
|||
to do so because it enables loop optimizatoins. */
|
||||
INLINE_HINT_loop_iterations = 2,
|
||||
INLINE_HINT_loop_stride = 4,
|
||||
/* Inlining withing same strongly connected component of callgraph is often
|
||||
/* Inlining within same strongly connected component of callgraph is often
|
||||
a loss due to increased stack frame usage and prologue setup costs. */
|
||||
INLINE_HINT_same_scc = 8,
|
||||
/* Inlining functions in strongly connected component is not such a great
|
||||
|
@ -67,7 +67,7 @@ enum inline_hints_vals {
|
|||
*/
|
||||
INLINE_HINT_cross_module = 64,
|
||||
/* If array indexes of loads/stores become known there may be room for
|
||||
futher optimization. */
|
||||
further optimization. */
|
||||
INLINE_HINT_array_index = 128
|
||||
};
|
||||
typedef int inline_hints;
|
||||
|
@ -152,7 +152,7 @@ struct GTY(()) inline_summary
|
|||
using up-to-date value in the badness metric mean a lot of extra
|
||||
expenses. */
|
||||
int growth;
|
||||
/* Number of SCC on the beggining of inlining process. */
|
||||
/* Number of SCC on the beginning of inlining process. */
|
||||
int scc_no;
|
||||
};
|
||||
|
||||
|
|
|
@ -682,7 +682,7 @@ mark_modified (ao_ref *ao ATTRIBUTE_UNUSED, tree vdef ATTRIBUTE_UNUSED,
|
|||
return true;
|
||||
}
|
||||
|
||||
/* Return true if a load from a formal parameter PARM_LOAD is known to retreive
|
||||
/* Return true if a load from a formal parameter PARM_LOAD is known to retrieve
|
||||
a value known not to be modified in this function before reaching the
|
||||
statement STMT. PARM_AINFO is a pointer to a structure containing temporary
|
||||
information about the parameter. */
|
||||
|
|
|
@ -143,7 +143,7 @@ struct GTY(()) ipa_ancestor_jf_data
|
|||
the size of the type) is clobbered with an unknown value. When
|
||||
agg_preserved is false or the type of the containing jump function is
|
||||
different, all unlisted parts are assumed to be unknown and all values must
|
||||
fullfill is_gimple_ip_invariant. */
|
||||
fulfill is_gimple_ip_invariant. */
|
||||
|
||||
typedef struct GTY(()) ipa_agg_jf_item
|
||||
{
|
||||
|
@ -192,7 +192,7 @@ typedef struct GTY (()) ipa_jump_func
|
|||
} ipa_jump_func_t;
|
||||
|
||||
|
||||
/* Return the offset of the component that is decribed by a known type jump
|
||||
/* Return the offset of the component that is described by a known type jump
|
||||
function JFUNC. */
|
||||
|
||||
static inline HOST_WIDE_INT
|
||||
|
|
|
@ -1080,7 +1080,7 @@ ignore_edge (struct cgraph_edge *e)
|
|||
|
||||
/* Return true if NODE is self recursive function.
|
||||
??? self recursive and indirectly recursive funcions should
|
||||
be the same, so this function seems unnecesary. */
|
||||
be the same, so this function seems unnecessary. */
|
||||
|
||||
static bool
|
||||
self_recursive_p (struct cgraph_node *node)
|
||||
|
|
Loading…
Reference in New Issue