1. 24 Feb, 2002 5 commits
  2. 23 Feb, 2002 18 commits
  3. 22 Feb, 2002 17 commits
    • class.c: Change vtable to be more compatible with g++ v3 abi. · dcb36804
      
      	*  class.c:  Change vtable to be more compatible with g++ v3 abi.
      	(get_dispatch_table):  Prepend offset-to-top (always 0) and
      	type_info pointer (currently unimplemented hence NULL) to vtable.
      	Specifically, prepend offset-to-top and typeinfo ptr (currently null).
      	(make_class_data):  Variable dtable_start_offset is sizeof 2 pointers.
      	Adjust vtable pointers by dtable_start_offse - i.e. skip new words.
      	(build_dtable_decl):  Add declarations for new fields.
      
      From-SVN: r49978
      Per Bothner committed
    • acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment. · 9aa43698
      2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
      
      	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
      	* aclocal.m4:  Regenerate.
      	* docs/html/configopts.html:  Document --enable-symvers.
      	* config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
      
      From-SVN: r49977
      Phil Edwards committed
    • natSystem.cc (init_properties): Include the `Inc.' in java.vendor and java.vm.vendor. · 1a77d3ba
      	* java/lang/natSystem.cc (init_properties): Include the `Inc.' in
      	java.vendor and java.vm.vendor.
      	* gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
      	recent copyright date.
      	* gnu/gcj/convert/Convert.java (version): Print `Inc'.
      	* gij.cc (version): Print `Inc'.
      
      From-SVN: r49975
      Tom Tromey committed
    • acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX. · eae63c0a
      * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
      * aclocal.m4, configure: Rebuilt.
      
      From-SVN: r49974
      Alexandre Oliva committed
    • tempbuf.h: get_temporary_buffer and return_temporary_buffer are in namespace std... · 0bc1e80d
      2002-02-22  Philipp Thomas  <pthomas@suse.de>
      
              * include/backward/tempbuf.h: get_temporary_buffer and
              return_temporary_buffer are in namespace std, not in __gnu_cxx.
      
      From-SVN: r49973
      Philipp Thomas committed
    • expr.c (store_expr): When converting expression to promoted equivalent type... · b76b08ef
      	* expr.c (store_expr): When converting expression to promoted
      	equivalent type, allow using SUBREG_REG of TARGET as the target
      	of the expansion of EXP.
      	* loop.c (basic_induction_var, case SUBREG): Always look inside.
      	* config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
      	(alpha_emit_set_const): Handle SImode when can't make new pseudos.
      	(alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
      	* config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
      
      From-SVN: r49972
      Richard Kenner committed
    • re PR c++/5748 (g++ dies with optimization) · 3256b817
      	PR c++/5748
      	* stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
      	decl if any of elements was TREE_USED.
      
      	* g++.dg/opt/anonunion1.C: New test.
      
      From-SVN: r49971
      Jakub Jelinek committed
    • sol2.h: Don't include sys/mman.h. · 9e0625a3
      * config/sparc/sol2.h: Don't include sys/mman.h.
      * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
      (arith_4096_operand): Don't throw high bits away.
      (const64_operand): Take sign extension of CONST_INTs into account.
      (const64_high_operand, sparc_emit_set_const32): Likewise.
      (GEN_HIGHINT64): Likewise.
      (sparc_emit_set_const64_quick1): Likewise.
      (const64_is_2insns): Likewise.
      (print_operand): Use trunc_int_for_mode for sign extension.
      * config/sparc/sparc.h (SMALL_INT32): Likewise.
      * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
      chars.  Assume CONST_INT is already properly sign-extended.
      (movdi split): Sign-extend each SImode part.
      (andsi3 split): Don't mask high bits off, so that result
      remains properly sign-extend.
      (iorsi3 split): Likewise.
      (xorsi3 split): Likewise.
      
      From-SVN: r49970
      Alexandre Oliva committed
    • re PR other/5746 (0220 cvs crashes using undeclared type) · 25c8b645
      	PR other/5746
      	* semantics.c (finish_switch_cond): Don't call get_unwidened
      	if error_mark_node.
      
      From-SVN: r49969
      Jakub Jelinek committed
    • Allow the user to specify functions for allocating memory for splay tree roots and nodes. · 00c2f96f
      include:
      Allow the user to specify functions for allocating memory for
      splay tree roots and nodes.
      * splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn):
      New types.
      (splay_tree): New fields: `allocate', `deallocate', and
      `allocate_data'.
      (splay_tree_new_with_allocator): New function declaration.
      
      libiberty:
      * splay-tree.c (splay_tree_xmalloc_allocate,
      splay_tree_xmalloc_deallocate): New functions.
      (splay_tree_new): Call splay_tree_new_with_allocator, passing the
      above functions and a dummy data pointer.
      (splay_tree_new_with_allocator): New function.
      (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
      splay_tree_remove): Use the splay tree's allocation and
      deallocation functions.
      
      From-SVN: r49968
      Jim Blandy committed
    • parse.y (patch_method_invocation): Set CAN_COMPLETE_NORMALLY on call to finit$… · 453c182f
      parse.y (patch_method_invocation): Set CAN_COMPLETE_NORMALLY on call to finit$ (otherwise generate_bytecode_insns...
      
      
      	* parse.y (patch_method_invocation): Set CAN_COMPLETE_NORMALLY on call
      	to finit$ (otherwise generate_bytecode_insns drops it). However, we
      	don't need to set it on the COMPOUND_EXPR - the caller does that.
      
      From-SVN: r49966
      Per Bothner committed
    • Connection.java (conect): Open the input and/or output streams immediately here,… · 0bf18815
      Connection.java (conect): Open the input and/or output streams immediately here, instead of using File.exists.
      
      
      	* gnu/gcj/protocol/file/Connection.java (conect):  Open the input
      	and/or output streams immediately here, instead of using File.exists.
      	(inputStream, outputStream):  New fields to save open streams.
      	(getInputStream, getOutputStream):  Use already-opened streams.
      
      From-SVN: r49965
      Per Bothner committed
    • configure.in (target_alias): Default to yes. · 696179ca
      
      2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* configure.in (target_alias): Default to yes.
      	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
      	libgcc to default case.
      
      From-SVN: r49962
      Benjamin Kosnik committed
    • PR c++/2645, DR 295 · 4f2b0fb2
      cp:
      	PR c++/2645, DR 295
      	* cp-tree.h (tsubst_flags_t): Add tf_ignore_bad_quals,
      	tf_keep_type_decl.
      	(make_typename_type): Use tsubst_flags_t.
      	* decl.c (make_typename_type): Adjust. Return non-artificial
      	TYPE_DECLs, if required.
      	(grokdeclarator): Simplify CVR qualification handling. Allow bad
      	qualifiers on typedef types.
      	* decl2.c (handle_class_head): Adjust make_typename_type call.
      	* parse.y (nested_name_specifier): Likewise.
      	(typename_sub0): Likewise.
      	(typename_sub1): Likewise.
      	* pt.c (convert_template_argument): Adjust make_typename_type
      	return value.
      	(tsubst): Adjust cp_build_qualified_type_real calls.
      	(check_cv_quals_for_unify): Cope with alowing bad qualifications
      	on template type parms.
      	(instantiate_decl): Recheck substitutions to give warnings on bad
      	qualifications.
      	* tree.c (cp_build_qualified_type_real): Use tf_allow_bad_quals.
      testsuite:
      	* g++.dg/template/qualttp19.C: New test.
      	* g++.dg/template/qualttp20.C: New test.
      	* g++.old-deja/g++.jason/report.C: Adjust expected errors
      	* g++.old-deja/g++.other/qual1.C: Likewise.
      
      From-SVN: r49961
      Nathan Sidwell committed
    • * fold-const.c (fold): Fix typo in comments. · 54fec3d5
      From-SVN: r49960
      Richard Sandiford committed
    • configure.in (target_alias): Default to yes. · ab3bc736
      
      2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* configure.in (target_alias): Default to yes.
      	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
      	libgcc to default case.
      
      From-SVN: r49959
      Benjamin Kosnik committed
    • Daily bump. · d8e7756c
      From-SVN: r49957
      GCC Administrator committed