1. 04 Mar, 2000 1 commit
  2. 03 Mar, 2000 1 commit
  3. 02 Mar, 2000 1 commit
  4. 01 Mar, 2000 1 commit
  5. 29 Feb, 2000 2 commits
    • c-decl.c (current_function_decl): Move to toplev.c. · 00262c8a
      	* c-decl.c (current_function_decl): Move to toplev.c.
      	(init_decl_processing): Don't add current_function_decl as a ggc
      	root here.
      	* dbxout.c (dbxout_symbol): Change return type to int.
      	(dbxout_symbol_location, dbxout_syms): Likewise.
      	(dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
      	any locals. Use current_function_func_begin_label if set.
      	* dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
      	* dwarf2out.c (dwarf2out_begin_prologue): Set
      	current_function_func_begin_label.
      	* final.c (final_start_function): Reset it.
      	* toplev.c (current_function_decl): Define it here.
      	(current_function_func_begin_label): New variable.
      	(main): Add both as ggc roots.
      	* tree.h (current_function_func_begin_label): Declare.
      	* ch/decl.c (current_function_decl): Move to toplev.c.
      	* cp/decl.c (current_function_decl): Move to toplev.c.
      	* f/com.c (current_function_decl): Move to toplev.c.
      	* java/decl.c (current_function_decl): Move to toplev.c.
      
      From-SVN: r32268
      Martin v. Löwis committed
    • Daily bump. · 898d4b17
      From-SVN: r32252
      Jeff Law committed
  6. 28 Feb, 2000 1 commit
  7. 27 Feb, 2000 2 commits
    • builtins.c (c_strlen): Use size_diffop and return ssizetype value. · fed3cef0
      	* builtins.c (c_strlen): Use size_diffop and return ssizetype value.
      	(expand_builtin_strcpy): Pass correct type to size_binop.
      	(expand_builtin_strcmp): Likewise.
      	Clean up conditional structure.
      	* c-decl.c (init_decl_processing): Don't call set_sizetype twice.
      	(complete_array_type): Don't use size_binop for MAXINDEX.
      	* c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
      	(c_sizeof_nowarn, c_size_in_bytes): Likewise.
      	(c_alignof): Use size_one_node.
      	(build_unary_op): Pass arg of proper type to size_binop.
      	(really_start_incremental_init, push_init_level): Use sizetype for
      	constructor{,_bit,_unfilled}_index.
      	(pop_init_label, output_init_element): Likewise.
      	(output_pending_init_elements, process_init_element): Likewise.
      	* calls.c (compute_argument_block_size): Field VAR is ssizetype.
      	* expr.c (store_expr): Use size_int.
      	(store_constructor): Use proper types for size_binop args.
      	(get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
      	(expand_expr_unaligned): Likewise.
      	(string_contant): Return object of sizetype.
      	* expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
      	(ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
      	(ARGS_SIZE_TREE): Pass proper types to size_binop.
      	* fold-const.c (int_const_binop): Refine when size_int is called.
      	(fold_convert): Likewise.
      	(size_int_wide): Rework to take KIND as arg, only take low order
      	bits, handle new sizetype_tab datatype, and chain entries in
      	size_table.
      	(size_int_type_wide): New function.
      	(size_binop): Validate types of arguments.
      	(ssize_binop): Deleted.
      	(size_diffop): New function.
      	(extract_muldiv): Only fold division into multiplication for sizetypes.
      	* function.c (assign_parms): Use size_diffop and make sure
      	VAR field is of ssizetype; also pass proper type to size_binop.
      	(locate_and_pad_parm, pad_to_arg_alignment): Likewise.
      	(round_down): Deleted from here.
      	* store-layout.c (sizetype_tab): Now an array.
      	(sizetype_set, early_root_list): New variables.
      	(variable_size): Use size_one_node.
      	(round_up): Pass proper type to size_binop.
      	(round_down): Moved to here and corrected as above.
      	(layout_record): Pass proper arg types to size_binop.
      	(layout_type): Likewise.
      	If sizetype_set is zero, record the type just laid out.
      	(make_unsigned_type): Don't call set_sizetype;
      	(make_signed_type): Likewise; also, call fixup_signed_type.
      	(initialize_sizetypes): New function.
      	(set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
      	set name of bitsizetype to "bit_size_type".
      	Fix up type of sizes of all types made before call.
      	* tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
      	* tree.c (fix_sizetype): Deleted.
      	(build_common_tree_nodes): Call initialize_sizetypes.
      	(build_common_tree_nodes_2): Don't call fix_sizetype.
      	* tree.h (TYPE_IS_SIZETYPE): New macro.
      	(initialize_sizetype): New declaration.
      	(enum size_type_kind): New type.
      	(struct sizetype_tab): Deleted.
      	(sizetype_tab): Now array; adjust sizetype macros.
      	(size_diffop, size_int_type_wide): New functions.
      	(size_int_wide): Change number of args and type; access macros changed.
      	(ssize_int, sbitsize_int): New macros.
      	* config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
      	(ROUND_TYPE_SIZE_UNIT): New macro.
      	* ch/actions.c (chill_convert_for_assignment): Don't use size_binop
      	for things that aren't sizes.
      	(expand_varying_length_assignment): Likewise.
      	* ch/convert.c (digest_array_tuple, convert): Likewise.
      	* ch/typeck.c (build_chill_slice, smash_dummy_type): Likewise.
      	(build_chill_slice_with_range): Likewise.
      	(build_chill_slice_with_length): Likewise.
      	(build_array_from_set): Adjust types for size_binop.
      	* ch/expr.c (build_concat_expr, build_chill_repetition_op): Likewise.
      	(build_chill_sizeof): Use TYPE_SIZE_UNIT.
      	* ch/tree.c (build_string_type): Pass proper type to size_binop.
      	* cp/class.c (dfs_build_vtable_offset_vtbl_entries): Don't use
      	size_binop on things that are not sizes; ssize_binop deleted.
      	Call size_diffop when appropriate.
      	(dfs_build_vcall_offset_vtbl_entries): Likewise.
      	(build_primary_vtable, build_secondary_vtable): Likewise.
      	(dfs_set_offset_for_unshared_vbases, dfs_modify_vtables): Likewise.
      	Variable I is HOST_WIDE_INT.
      	(get_vfield_offset): Pass proper types to size_binop.
      	(size_extra_vtbl_entries, layout_virtual_bases): Likewise.
      	(finish_struct_1): Likewise.
      	(skip_rtti_stuff): Arg N is now pointer to signed.
      	(layout_class_type): Use size_zero_node.
      	* cp/cp-tree.h (skip_rtti_stuff): Arg N is pointer to signed.
      	* cp/cvt.c (cp_convert_to_pointer): Pass proper types to size_binop.
      	* cp/decl.c (complete_arry_type): Pass proper types to size_binop.
      	(xref_basetypes): BINFO_OFFSET is sizetype.
      	* cp/error.c (dump_expr): Don't use size_binop non-sizes.
      	* cp/expr.c (cplus_expand_constant): Pass proper types to size_binop.
      	* cp/init.c (construct_virtual_bases): Fix type error.
      	(build_vec_delete_1): Pass proper type to size_binop and don't
      	fold result.
      	* cp/lex.c (cp_make_lang_type): BINFO_OFFSET is sizetype.
      	* cp/rtti.c (get_base_offset): Pass proper type to size_binop.
      	* cp/search.c (dfs_find_vbases): Fix type error.
      	(expand_upcast_fixups): Arg to skip_rtti_stuff is pointer to signed.
      	(dfs_get_vbase_types): BINFO_OFFSET is sizetype.
      	* cp/tree.c (debug_binfo): Variable N is signed.
      	Use HOST_WIDE_INT_PRINT_DEC.
      	* cp/typeck.c (comptypes): sizetype is same as equivalent integer type.
      	(c_sizeof, c_sizeof_nowarn, expr_sizeof): Use TYPE_SIZE_UNIT,
      	size_one_node and size_zero_node.
      	(c_alignof): Use size_one_node.
      	(build_component_addr): Pass proper types to size_binop.
      	(expand_ptrmemfunc_cst): Don't use size_binop on non-sizes.
      	* f/com.c (ffecom_arrayref_): Convert args to size_binop to proper
      	type.
      	(ffecom_tree_canonize_ptr_): Don't use size_binop for non-sizes.
      	(ffecom_tree_canonize_ref_): Likewise.
      	(type_for_mode): Handle TImode.
      	* f/ste.c (ffeste_io_dofio_, ffeste_io_douio_): Use TYPE_SIZE_UNIT.
      	(ffeste_io_ciclist_): Likewise.
      	* java/expr.c (build_java_ret): Pass proper type to size_binop.
      
      From-SVN: r32225
      Richard Kenner committed
    • Daily bump. · 5d112ff3
      From-SVN: r32216
      Jeff Law committed
  8. 26 Feb, 2000 2 commits
  9. 25 Feb, 2000 1 commit
  10. 24 Feb, 2000 2 commits
    • Daily bump. · ee419188
      From-SVN: r32131
      Jeff Law committed
    • tree.h (TREE_SET_PERMANENT): New macro. · 23dfa477
      	* tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
      	under which TREE_PERMANENT will be set.
      	* tree.c (make_node, copy_node, make_tree_vec, tree_cons,
      	build1): Use TREE_SET_PERMANENT.
      	* print-tree.c (print_node): Don't report value of
      	TREE_PERMANENT if ggc_p is true.
      
      	* c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
      	decide whether to give a type a new alias set.
      	* objc/objc-act.c (build_objc_string_object): Never copy the string.
      	* tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
      	of value of 'obstack'.
      
      	* f/com.c (ffecom_type_permanent_copy_): Delete unused function.
              (finish_decl): Don't change TREE_PERMANENT (DECL_INITIAL (decl)).
      
      From-SVN: r32128
      Zack Weinberg committed
  11. 23 Feb, 2000 1 commit
  12. 22 Feb, 2000 1 commit
  13. 21 Feb, 2000 1 commit
  14. 20 Feb, 2000 3 commits
    • Daily bump. · ce26960a
      From-SVN: r32077
      Jeff Law committed
    • Move language-specific entries · 64e92991
      From-SVN: r32071
      Richard Kenner committed
    • c-common.c (decl_attributes): Set DECL_SIZE_UNIT. · 06ceef4e
      	* 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
      Richard Kenner committed
  15. 19 Feb, 2000 1 commit
  16. 18 Feb, 2000 2 commits
  17. 17 Feb, 2000 2 commits
  18. 16 Feb, 2000 3 commits
    • configure (gcc_version): When setting, narrow search to lines containing `version_string'. · 4746ee26
      	* configure (gcc_version): When setting, narrow search to
      	lines containing `version_string'.
      
      gcc:
      	* version.c: Include gansidecl.h and version.h.
      
      	* version.h: Wrap entire file in macro __GCC_VERSION_H__.
      
      	* configure.in (gcc_version): When setting, narrow search to
      	lines containing `version_string'.
      
      	* Makefile.in (mainversion): Likewise.
      	(GCC_H): New variable.
      	(gcc.h): Delete target.
      	(gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
      	(version.o): Depend on version.h.
      	(dbxout.o): Don't depend on gcc.h.
      
      gcc/cp:
      	* Make-lang.in (g++spec.o): Depend on $(GCC_H), not gcc.h.
      
      gcc/f:
      	* Make-lang.in (g77spec.o): Depend on $(GCC_H), not gcc.h.
      
      gcc/java:
      	* Make-lang.in (jvspec.o): Depend on $(GCC_H), not gcc.h.
      
      libf2c:
      	* configure.in (gcc_version): When setting, narrow search to
      	lines containing `version_string'.
      
      From-SVN: r32009
      Kaveh R. Ghazi committed
    • Daily bump. · 1efa676d
      From-SVN: r32007
      Jeff Law committed
    • Jonathan Larmour <jlarmour@redhat.co.uk>: · 3ea8083f
      Add new __GNUC_PATCHLEVEL__ define.
      
      From-SVN: r32004
      Jonathan Larmour committed
  19. 15 Feb, 2000 2 commits
    • Makefile.in (TREE_H, [...]): Depend on version.h. · 9f8f4efe
      	* Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
      	cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
      
      	* cccp.c: Include version.h and/or don't declare `version_string'.
      	* collect2.c: Likewise.
      	* alpha.c: Likewise.
      	* arm/aof.h: Likewise.
      	* arm/coff.h: Likewise.
      	* arm/elf.h: Likewise.
      	* arm/pe.h: Likewise.
      	* arm/tcoff.h: Likewise.
      	* arm/telf.h: Likewise.
      	* arm/tpe.h: Likewise.
      	* arm/vxarm.h: Likewise.
      	* convex/convex.c: Likewise.
      	* i386/dgux.c: Likewise.
      	* i386/sun386.h: Likewise.
      	* m88k/m88k.c: Likewise.
      	* mcore/mcore-pe.h: Likewise.
      	* mips/mips.h: Likewise.
      	* romp/romp.h: Likewise.
      	* sh/sh.c: Likewise.
      	* cpphash.c: Likewise.
      	* cppinit.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      	* gcc.c: Likewise.
      	* gcc.h: Likewise.
      	* mips-tfile.c: Likewise.
      	* protoize.c: Likewise.
      	* toplev.c: Likewise.
      	* tree.h: Likewise.
      
      	* version.c (version_string): Constify a char*.
      
      	* version.h: New file.
      
      ch:
      	* grant.c: Don't declare `version_string'.
      
      f:
      	* g77spec.c: Don't declare `version_string'.
      
      java:
      	* Makefile.in (jv-scan, jcf-dump, gcjh): Depend on and link with
      	version.o.
      	(jcf-dump.o, gjavah.o, jv-scan.o): Depend on version.h.
      
      	* gjavah.c: Include version.h.
      
      	* jcf-dump.c: Likewise.
      
      	* jv-scan.c: Likewise.
      
      From-SVN: r31984
      Kaveh R. Ghazi committed
    • Daily bump. · 571f8ce4
      From-SVN: r31977
      Jeff Law committed
  20. 14 Feb, 2000 1 commit
  21. 13 Feb, 2000 1 commit
  22. 12 Feb, 2000 1 commit
  23. 11 Feb, 2000 1 commit
  24. 10 Feb, 2000 1 commit
  25. 09 Feb, 2000 1 commit
  26. 08 Feb, 2000 1 commit
  27. 07 Feb, 2000 1 commit
  28. 06 Feb, 2000 2 commits