1. 30 Sep, 2002 15 commits
    • tree.c (really_overloaded_fn): TEMPLATE_ID_EXPRs are also overloaded. · 5a9a1961
      cp:
      	* tree.c (really_overloaded_fn): TEMPLATE_ID_EXPRs are also
      	overloaded.
      testsuite:
      	* g++.dg/overload/member1.C: New test.
      
      From-SVN: r57662
      Nathan Sidwell committed
    • class.c (build_vtbl_initializer): Add cast. · 7befdb9f
      	* class.c (build_vtbl_initializer): Add cast.
      	(add_vcall_offset_vtbl_entries_1):
      	Use TARGET_VTABLE_DATA_ENTRY_DISTANCE for offset.
      
      From-SVN: r57659
      Steve Ellcey committed
    • New. · f2bf5da8
      From-SVN: r57657
      Richard Henderson committed
    • Mark PR. · b5371c18
      From-SVN: r57656
      Richard Henderson committed
    • Fix docs · 71dff728
      From-SVN: r57655
      Anthony Green committed
    • store-layout.c (finish_record_layout): Add free_p parameter. · 17bbb839
      	* store-layout.c (finish_record_layout): Add free_p parameter.
      	(layout_type): Pass it.
      	* tree.h (finish_record_layout): Update prototype.
      
      	* class.c (walk_subobject_offsets): Correct the calculation of
      	offsets for virtual bases.  Correct the counting of array
      	elements.
      	(layout_nonempty_base_or_field): Simplify.  Correct the
      	calculation of offsets to be propagated through the binfo
      	hierarchy.
      	(build_base_field): Avoid creating a FIELD_DECL for empty bases.
      	Add the FIELD_DECL to TYPE_FIELDS.
      	(build_base_fields): Adjust accordingly.
      	(layout_virtual_bases): Use build_base_field.
      	(end_of_class): Return a tree, not an integer.
      	(warn_about_ambiguous_direct_bases): Rename to ...
      	(warn_about_ambiguous_bases): ... this.
      	(include_empty_classes): New function.
      	(layout_class_type): Create an alternative version of the type to
      	be used when as a base class type.  Do not call
      	finish_record_layout until we are done laying out the class.
      	* cp-tree.h (lang_type_class): Remove size, size_unit.  Add
      	as_base.
      	(CLASSTYPE_SIZE): Reimplement.
      	(CLASSTYPE_SIZE_UNIT): Likewise.
      	(CLASSTYPE_ALIGN): Likweise.
      	(CLASSTYPE_USER_ALIGN): Likewise.
      	(CLASSTYPE_AS_BASE): New macro.
      	(DECL_INITIALIZED_P): Likewise.
      	(extract_init): Remove prototype.
      	(build_forced_zero_init): Rename to ...
      	(build_zero_init): ... this.
      	(force_store_init_value): Remove.
      	* decl.c (obscure_complex_init): Remove.
      	(duplicate_decls): Copy DECL_INITIALIZED_P.
      	(check_initializer): Do not leave junk in DECL_INITIAL.
      	(cp_finish_decl): Handle zero-initialization of entities with
      	static storage duration.
      	* expr.c (extract_init): Remove.
      	* init.c (build_forced_zero_init): Remove.
      	(build_zero_init): New function.
      	(build_default_init): Use it.
      	(build_field_list): Skip FIELD_DECLs for base subobjects.
      	(push_base_cleanups): Likewise.
      	* method.c (do_build_assign_ref): Likewise.
      	(synthesize_exception_spec): Likewise.
      	* pt.c (tsubst_decl): Clear DECL_INITIALIZED_P.
      	(regenerate_decl_from_template): To not set DECL_INITIAL for a
      	static data member whose initialization took place in its class.
      	(instantiate_decl): Do not pass an initializer to cp_finish_decl
      	in that situation.
      	* search.c (dfs_push_decls): Skip FIELD_DECLs for base subobjects.
      	(dfs_unuse_fields): Likewise.
      	* tree.c (pod_type_p): Handle error_mark_node.
      	(zero_init_p): Likewise.
      	* typeck.c (lookup_anon_field): Skip FIELD_DECLs for base
      	subobjects.
      	* typeck2.c (store_init_value): Remove #if 0'd code.
      	(force_store_init_value): Remove.
      	(process_init_constructor): Use build_zero_init.
      
      	* g++.dg/abi/empty7.C: New test.
      	* g++.dg/init/pm2.C: Likewise.
      
      From-SVN: r57654
      Mark Mitchell committed
    • Add -fno-assert flag. · acc59b85
      From-SVN: r57649
      Anthony Green committed
    • i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__. · 48ddd46c
      	* i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
      
      	* gcse.c (cprop_jump): Check that the register has not
      	been modified
      	(cprop_jump): Likewise.
      
      From-SVN: r57648
      Jan Hubicka committed
    • * configure.in (s390*-*-linux*): Enable libgcj. · ca25149e
      From-SVN: r57647
      Ulrich Weigand committed
    • configure.in: Add s390x-*-linux-* target. · c4f17c6f
      	* configure.in: Add s390x-*-linux-* target.
      	* configure: Regenerate.
      	* include/ffi.h.in: Define S390X for s390x targets.
      	(FFI_CLOSURES): Define for s390/s390x.
      	(FFI_TRAMPOLINE_SIZE): Likewise.
      	(FFI_NATIVE_RAW_API): Likewise.
      	* src/prep_cif.c (ffi_prep_cif): Do not compute stack space for s390.
      	* src/types.c (FFI_TYPE_POINTER): Use 8-byte pointers on s390x.
      	* src/s390/ffi.c: Major rework of existing code.  Add support for
      	s390x targets.  Add closure support.
      	* src/s390/sysv.S: Likewise.
      
      From-SVN: r57646
      Ulrich Weigand committed
    • arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb. · b93a0fe6
      * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
      (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
      that we have a SImode access, and only then if reload hasn't completed;
      for all other cases, use LO_REGS.
      
      From-SVN: r57644
      Richard Earnshaw committed
    • Daily bump. · 067bb3a7
      From-SVN: r57643
      GCC Administrator committed
    • Add Proxy support. · d3cc3f10
      From-SVN: r57635
      Anthony Green committed
    • combine.c (force_to_mode): Handle FLOAT_MODE destinations for CONST_INT. · ccf7aef4
              * combine.c (force_to_mode): Handle FLOAT_MODE destinations
              for CONST_INT.
      
      From-SVN: r57634
      Richard Henderson committed
  2. 29 Sep, 2002 11 commits
  3. 28 Sep, 2002 10 commits
  4. 27 Sep, 2002 4 commits