* tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts. (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT. (attribute_hash_list, type_hash_canon): hashcode is now unsigned. (type_hash_lookup, type_hash_add, type_hash_list): Likewise. (min_precision): Result is unsignd. (add_double, neg_double, mul_double): Low word is unsigned. (lshift_double, rshift_double, lrotate_double): Likewise. (rrotate_double, div_and_round_double): Likewise. (tree_floor_log2, compare_tree_int): New functions. (preserve_rtl_expr_temps): New declaration. * c-common.c (declare_hidden_char_array): Use compare_tree_int. (decl_attributes): Use tree_log2 to find alignment. Check for TREE_INT_CST_HIGH for format args. (min_precision): Now unsigned. Use tree_floor_log2. (truthvalue_conversion): Delete long-disabled code. * c-decl.c (finish_struct): Clean up tests on field width. (finish_function): Use compare_tree_int. * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment. * c-typeck.c (comptypes): Use tree_int_cst_equal. (default_conversion, digest_init): Use compare_tree_int. (build_binary_op): Use integer_all_onesp and compare_tree_int. Fix type errors in forming masks. * calls.c (initialize_argument_information): Use compare_tree_int. * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT. * except.c (expand_eh_region_start_tree): Use compare_tree_int. * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop. (store_field): Use compare_tree_int. (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT. (expand_expr, case ARRAY_REF): Use compare_tree_int. (do_jump, case BIT_AND_EXPR): Use tree_floor_log2. (do_store_flag): Use compare_tree_int. * fold-const.c (encode, decode): Low part is always unsigned. (force_fit_type, add_double, neg_double, mul_double): Likewise. (lshift_double, rshift_double, lrotate_double): Likewise. (rrotate_double, div_and_round_double, int_const_binop): Likewise. (fold_convert): Use compare_tree_int. (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal. (invert_truthvalue, case INTEGER_CST): Likewise. (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW. * mkdeps.c (deps_dummy_targets): Make I unsigned. * rtl.h (add_double, neg_double, mul_double): Low words are unsigned. (lshift_double, rshift_double, lrotate_double, rrotate_double): Likewise. * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree. (expand_end_case): Use compare_tree_int. (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT. * stor-layout.c (mode_for_size_tree): Use compare_tree_int. (layout_decl): Likewise. (layout_record, layout_union): Make sizes unsigned. (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype. (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int. * tree.c (struct type_hash): hashcode is unsigned. (build_type_attribute_variant, type_hash_list): Likewise. (type_hash_lookup, type_hash_add, type_hash_canon): Likewise. (attribute_hash_list, build_array_type, build_method_type): Likewise. (build_complex_type): Likewise. (real_value_from_int_cst): Remove unneeded casts. (integer_all_onesp): Add casts. (tree_floor_log2, compare_tree_int): New functions. (build_index_type): Use tree_int_cst_sgn. * varasm.c (assemble_variable): Use compare_tree_int. * ch/actions.c (chill_convert_for_assignment): INDEX is unsigned HOST_WIDE_INT. * ch/ch-tree.h (DECL_NESTING_LEVEL): Use TREE_INT_CST_HIGH since unsigned. * ch/except.c (chill_handle_on_labels): ALTERNATIVE is unsigned. Use compare_tree_int. (expand_goto_except_cleanup): Likewise. * cp/class.c (dfs_modify_vtables): I is now unsigned. (check_bitfield_decl): Use tree_int_cst_sgn and compare_tree_int. (build_base_field): Add casts of TREE_INT_CST_LOW to HOST_WIDE_INT. * cp/error.c (dump_expr): Cast TREE_INT_CST_HIGH to unsigned. * cp/init.c (build_vec_init): Cast TREE_INT_CST_LOW to HOST_WIDE_INT. * cp/method.c (build_overload_int): Cast TREE_INT_CST_HIGH to unsigned. * cp/typeck.c (build_binary_op, case TRUNC_DIV_EXPR): Call integer_all_onesp. * cp/typeck2.c (process_init_constructor): Use compare_tree_int. * f/com.c (ffecom_f2c_set_lio_code_): Use compare_tree_int. (ffecom_sym_transform_, ffecom_transform_common_): Likewise. (ffecom_transform_equiv_): Likewise. * java/decl.c (emit_init_test_initialization): Mark KEY as unused. * java/expr.c (build_newarray): Cast TREE_INT_CST_LOW to HOST_WIDE_INT. (build_anewarray): Likewise. * java/parse.y (patch_newarray): Likewise. * java/parse.c: Regenerated. From-SVN: r32383
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
BUGS | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog.0 | Loading commit data... | |
INSTALL | Loading commit data... | |
Make-lang.in | Loading commit data... | |
Makefile.in | Loading commit data... | |
NEWS | Loading commit data... | |
README | Loading commit data... | |
RELEASE-PREP | Loading commit data... | |
ansify.c | Loading commit data... | |
assert.j | Loading commit data... | |
bad.c | Loading commit data... | |
bad.def | Loading commit data... | |
bad.h | Loading commit data... | |
bit.c | Loading commit data... | |
bit.h | Loading commit data... | |
bld-op.def | Loading commit data... | |
bld.c | Loading commit data... | |
bld.h | Loading commit data... | |
bugs.texi | Loading commit data... | |
bugs0.texi | Loading commit data... | |
com-rt.def | Loading commit data... | |
com.c | Loading commit data... | |
com.h | Loading commit data... | |
config-lang.in | Loading commit data... | |
config.j | Loading commit data... | |
convert.j | Loading commit data... | |
data.c | Loading commit data... | |
data.h | Loading commit data... | |
equiv.c | Loading commit data... | |
equiv.h | Loading commit data... | |
expr.c | Loading commit data... | |
expr.h | Loading commit data... | |
ffe.texi | Loading commit data... | |
fini.c | Loading commit data... | |
flags.j | Loading commit data... | |
g77.1 | Loading commit data... | |
g77.texi | Loading commit data... | |
g77install.texi | Loading commit data... | |
g77spec.c | Loading commit data... | |
ggc.j | Loading commit data... | |
glimits.j | Loading commit data... | |
global.c | Loading commit data... | |
global.h | Loading commit data... | |
hconfig.j | Loading commit data... | |
implic.c | Loading commit data... | |
implic.h | Loading commit data... | |
info-b.def | Loading commit data... | |
info-k.def | Loading commit data... | |
info-w.def | Loading commit data... | |
info.c | Loading commit data... | |
info.h | Loading commit data... | |
input.j | Loading commit data... | |
install0.texi | Loading commit data... | |
intdoc.c | Loading commit data... | |
intdoc.in | Loading commit data... | |
intdoc.texi | Loading commit data... | |
intrin.c | Loading commit data... | |
intrin.def | Loading commit data... | |
intrin.h | Loading commit data... | |
lab.c | Loading commit data... | |
lab.h | Loading commit data... | |
lang-options.h | Loading commit data... | |
lang-specs.h | Loading commit data... | |
lex.c | Loading commit data... | |
lex.h | Loading commit data... | |
malloc.c | Loading commit data... | |
malloc.h | Loading commit data... | |
name.c | Loading commit data... | |
name.h | Loading commit data... | |
news.texi | Loading commit data... | |
news0.texi | Loading commit data... | |
output.j | Loading commit data... | |
parse.c | Loading commit data... | |
proj.c | Loading commit data... | |
proj.h | Loading commit data... | |
root.texi | Loading commit data... | |
rtl.j | Loading commit data... | |
src.c | Loading commit data... | |
src.h | Loading commit data... | |
st.c | Loading commit data... | |
st.h | Loading commit data... | |
sta.c | Loading commit data... | |
sta.h | Loading commit data... | |
stb.c | Loading commit data... | |
stb.h | Loading commit data... | |
stc.c | Loading commit data... | |
stc.h | Loading commit data... | |
std.c | Loading commit data... | |
std.h | Loading commit data... | |
ste.c | Loading commit data... | |
ste.h | Loading commit data... | |
storag.c | Loading commit data... | |
storag.h | Loading commit data... | |
stp.c | Loading commit data... | |
stp.h | Loading commit data... | |
str-1t.fin | Loading commit data... | |
str-2t.fin | Loading commit data... | |
str-fo.fin | Loading commit data... | |
str-io.fin | Loading commit data... | |
str-nq.fin | Loading commit data... | |
str-op.fin | Loading commit data... | |
str-ot.fin | Loading commit data... | |
str.c | Loading commit data... | |
str.h | Loading commit data... | |
sts.c | Loading commit data... | |
sts.h | Loading commit data... | |
stt.c | Loading commit data... | |
stt.h | Loading commit data... | |
stu.c | Loading commit data... | |
stu.h | Loading commit data... | |
stv.c | Loading commit data... | |
stv.h | Loading commit data... | |
stw.c | Loading commit data... | |
stw.h | Loading commit data... | |
symbol.c | Loading commit data... | |
symbol.def | Loading commit data... | |
symbol.h | Loading commit data... | |
system.j | Loading commit data... | |
target.c | Loading commit data... | |
target.h | Loading commit data... | |
tconfig.j | Loading commit data... | |
tm.j | Loading commit data... | |
top.c | Loading commit data... | |
top.h | Loading commit data... | |
toplev.j | Loading commit data... | |
tree.j | Loading commit data... | |
type.c | Loading commit data... | |
type.h | Loading commit data... | |
version.c | Loading commit data... | |
version.h | Loading commit data... | |
where.c | Loading commit data... | |
where.h | Loading commit data... |