* c-common.c (decl_attributes): Set DECL_SIZE_UNIT. * c-decl.c (duplicate_decls, finish_enum): Likewise. (finish_decl): Remove -Wlarger-than code from here. * flags.h (id_clash_len): Now int. (larger_than_size): Now HOST_WIDE_INT. * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed. Clean up checking to see if in table. (make_bit_field_ref): Remove extra parm to bitsize_int. * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT. * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT. * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size and for computing size of decl. * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT. Move -Wlarger-than code to here. (layout_record): Remove extra arg to bitsize_int. Set TYPE_BINFO_SIZE_UNIT. (layout_union): Remove extra arg to bitsize_int. Use proper type for size of QUAL_UNION. (layout_type): Remove extra arg to bitsize_int. * toplev.c (id_clash_len): Now int. (larger_than_size): Now HOST_WIDE_INT. (decode_W_option): Clean up id-clash and larger-than- cases. * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts. (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined. * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New. (struct tree_decl): New field size_unit. (size_int_wide): No HIGH operand; NUMBER is now signed. (size_int_2): Deleted. (size_int, bitsize_int): Don't use it and rework args. * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT. * ch/decl.c (layout_enum): Set DECL_SIZE_UNIT. * ch/satisfy.c (safe_satisfy_decl): Likewise. * cp/class.c (build_primary_vtable, layout_vtable_decl): Likewise. (avoid_overlap, build_base_field): Likewise. (build_base_field, build_base_fields, is_empty_class): Test DECL_SIZE with integer_zero. (layout_class_type): Set CLASSTYPE_SIZE_UNIT. * cp/cp-tree.h (struct lang_type): New field size_unit. (CLASSTYPE_SIZE_UNIT): New macro. * cp/decl.c (init_decl_processing): Set DECL_SIZE_UNIT. (cp_finish_decl): Delete -Wlarger-than processing. * cp/optimize.c (remap_decl): Walk DECL_SIZE_UNIT. * cp/pt.c (tsubst_decl): Set DECL_SIZE_UNIT. * cp/tree.c (make_binfo): binfo vector is one entry longer. (walk_tree): Walk DECL_SIZE_UNIT. * f/com.c (ffecom_sym_transform): Use DECL_SIZE_UNIT. (ffecom_transform_common_, ffecom_transform_equiv_): Likewise. (duplicate_decls): Likewise. (ffecom_tree_canonize_ptr_): Delete extra arg to bitsize_int. (finish_decl): Delete -Wlarger-than processing. * java/class.c (build_class_ref, push_super_field): Set DECL_SIZE_UNIT. * java/constants.c (build_constants_constructor): Likewise. From-SVN: r32068
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... |