1. 01 Apr, 2002 18 commits
    • cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3. · bd7e6f2d
      2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
      
      	* cp-demangle.c (__cxa_demangle):  Also protect with IN_GLIBCPP_V3.
      	(is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor):  Conditionally
      	not compile if IN_GLIBCPP_V3 defined.
      	* dyn-string.c:  Also allow IN_GLIBCPP_V3 to change allocation scheme.
      
      From-SVN: r51708
      Phil Edwards committed
    • dyn-string.h: Also allow IN_GLIBCPP_V3 to redefine names. · 7bf421c1
      2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
      
      	* dyn-string.h:  Also allow IN_GLIBCPP_V3 to redefine names.
      
      From-SVN: r51707
      Phil Edwards committed
    • c-decl.c (grokdeclarator): Update. · dffd7eb6
      	* c-decl.c (grokdeclarator): Update.
      	* c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
      	* c-tree.h (c_mark_addressable): New.
      	* c-typeck.c (default_function_array_conversion, build_unary_op,
      	build_array_ref, convert_for_assignment): Update.
      	(mark_addressable): Rename.
      	* calls.c (try_to_integrate, expand_call): Use langhook.
      	* expr.c (expand_expr): Use langhook.
      	* langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
      	* langhooks.h (struct lang_hooks): New hook.
      	* stmt.c (expand_asm_operands): Use langhook.
      	* tree.h (mark_addressable): Remove.
      ada:
      	* decl.c (gnat_to_gnu_entity): Update.
      	* gigi.h (mark_addressable): Rename.
      	* misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
      	* trans.c (tree_transform): Update.
      	* utils.c (create_var_decl): Update.
      	* util2.c (build_binary_op, build_unary_op,
      	fill_vms_descriptor): Update.
      	(mark_addressable): Rename, update.
      cp:
      	* call.c (build_addr_func): Update.
      	* class.c (resolve_address_of_overloaded_function): Update.
      	* cp-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
      	* cp-tree.h (cxx_mark_addressable): New.
      	* decl.c (register_dtor_fn, cxx_maybe_build_cleanup): Update.
      	* decl2.c (build_cleanup): Update.
      	* except.c (build_throw): Update.
      	* init.c (resolve_offset_ref): Update.
      	* pt.c (convert_nontype_argument): Update.
      	* semantics.c (finish_asm_stmt, simplify_affr_init_exprs_r): Update.
      	* typeck.c (decay_conversion, build_array_ref, build_unary_op,
      	unary_complex_lvalue): Update.
      	(mark_addressable): Rename.
      f:
      	* com.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
      	(mark_addressable): Rename.
      	(ffecom_arrayref_, ffecom_1): Update.
      java:
      	* java-tree.h (java_mark_addressable): New.
      	* lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
      	* typeck.c (mark_addressable): Rename, update.
      objc:
      	* objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
      
      From-SVN: r51705
      Neil Booth committed
    • xtensa.c (xtensa_va_arg): Fix compiler warning in previous change. · 544ef5b5
              * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
              in previous change.
      
      From-SVN: r51704
      Bob Wilson committed
    • BitSet.java (BitSet(int)): if nbits < 0 throw NegativeArraySizeException · 29123a37
              * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
              NegativeArraySizeException
              (clear(int)): Use sign extended shift.
              (flip(int)): Likewise.
              (get(int)): Likewise.
              (nextClearBit(int)): Likewise.
              (nextSetBit(int)): Likewise.
              (set(int)): Likewise.
      
      From-SVN: r51701
      Mark Wielaard committed
    • xtensa.c (xtensa_va_arg): Fix to handle arguments for which MUST_PASS_IN_STACK is true (e.g.... · bcf88f9b
              * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
              for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
      
      From-SVN: r51700
      Bob Wilson committed
    • * g++.dg/other/new1.C: Use __SIZE_TYPE__. · ed4168d5
      From-SVN: r51698
      Richard Henderson committed
    • basic_ios.h (basic_ios::_M_exception): Move. · 663653eb
      
      2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
      
      	libstdc++/3129
      	* include/bits/basic_ios.h (basic_ios::_M_exception): Move.
      	(basic_ios::_M_streambuf_state): Move.
      	* include/bits/ios_base (ios_base): To here.
      	* include/bits/ios_base.h (ios_base::_S_local_words): To
      	_S_local_word_size.
      	(ios_base::_M_word_array): To _M_local_word.
      	(ios_base::_M_words_limit): To _M_word_size.
      	(ios_base::_M_words): To _M_word.
      	Comment.
      	* include/bits/basic_ios.tcc: Adjust.
      	* src/ios.cc (ios_base::_M_grow_words): Tweak.
      	* testsuite/27_io/ios_base_storage.cc: Add tests.
      
      	libstdc++/5207
      	Kenny Simpson <theonetruekenny@yahoo.com>
      	* include/bits/ios_base.h: Fix.
      
      	Richard Henderson  <rth@redhat.com>
      	* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
      	last change.
      
      	* include/bits/basic_string.h: Tweak formatting.
      
      From-SVN: r51695
      Benjamin Kosnik committed
    • mauve-libgcj: Add JDK1.3... · 55173836
              * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
              that can be compiled now and add testsuite crashers to ignore list.
      
      From-SVN: r51693
      Mark Wielaard committed
    • re PR c++/5998 (regression, all builtins disabled) · 04a9d080
      	PR c++/5998:
      	* decl.c (duplicate_decls):  Overwrite the RTL when (and only
      	when) overwriting a built-in function.  Don't use COPY_DECL_RTL,
      	but follow the SET_DECL_RTL idiom used elsewhere in the function.
      
      From-SVN: r51690
      Roger Sayle committed
    • template-as-base.C: Expect error. · d5ecb9cb
              * g++.dg/inherit/template-as-base.C: Expect error.
              * g++.dg/inherit/namespace-as-base.C: Likewise.
      
      From-SVN: r51687
      Gabriel Dos Reis committed
    • 2002-04-01 Paolo Carlini <pcarlini@unitus.it> · 99b629fa
      	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
      	(codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
      	By definition, sizeof(char) == 1.
      	* include/bits/locale_facets.tcc (money_get::do_get,
      	money_put::do_put): Ditto.
      	* testsuite/21_strings/inserters_extractors.cc
      	(test04): Ditto.
      
      From-SVN: r51685
      Paolo Carlini committed
    • c-common.c (unsigned_conversion_warning, [...]): Use new hooks. · ceef8ce4
      	* c-common.c (unsigned_conversion_warning, convert_and_check,
      	unsigned_type, signed_type, shorten_compare,
      	c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
      	(unsigned_type, signed_type, signed_or_unsigned_type): Rename.
      	* c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
      	New.
      	* c-decl.c (grokdeclarator): Update.
      	* c-format.c (check_format_types): Update.
      	* c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
      	LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
      	* c-typeck.c (build_binary_op, convert_for_assignment): Update.
      	* convert.c (convert_to_integer): Use new hooks.
      	* expmed.c (make_tree): Use new hooks.
      	* expr.c (store_expr): Use new hooks.
      	* fold-const.c (operand_equal_for_comparison_p, build_range_check,
      	all_ones_mask_p, unextend, fold): Use new hooks.
      	* langhooks.h (struct lang_hooks_for_types): New hooks.
      	* tree.h (signed_or_unsigned_type, signed_type,
      	unsigned_type): Remove.
      ada:
      	* gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
      	Rename.
      	* misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
      	LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
      	* trans.c (tree_transform, convert_with_check): Update.
      	* utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
      	Rename.
      cp:
      	* cp-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
      	LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
      	* decl.c (grokdeclarator): Update.
      	* mangle.c (write_integer_cst): Update.
      	* typeck.c (build_binary_op): Update.
      f:
      	* com.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
      	LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
      	(unsigned_type, signed_type, signed_or_unsigned_type): Rename.
      java:
      	* expr.c (build_java_binop): Update.
      	* java-tree.h (java_signed_type, java_unsigned_type,
      	java_signed_or_unsigned_type): Update.
      	* lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
      	LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
      	* parse.y (patch_binop): Update.
      	* typeck.c (signed_or_unsigned_type, unsigned_type,
      	signed_type): Update.
      objc:
      	* objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
      	LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
      
      From-SVN: r51684
      Neil Booth committed
    • Daily bump. · c7a39ea9
      From-SVN: r51683
      GCC Administrator committed
    • unwind-ia64.c (alloc_spill_area): Fix offset. · 1d9ad0e0
      	* config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
      	(desc_frgr_mem): Fix reference to f16-f31.
      
      From-SVN: r51679
      Richard Henderson committed
    • varray.h (VARRAY_CHECK): Const-ify. · d8750784
      	* varray.h (VARRAY_CHECK): Const-ify.
      	* ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
      	ggc_mark_rtvec, ggc_mark): Const-ify.
      
      From-SVN: r51677
      Kaveh R. Ghazi committed
    • rtl.h (RTL_CHECK1, [...]): Const-ify. · d544bc39
      	* rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
      	RTVEC_ELT): Const-ify.
      
      From-SVN: r51676
      Kaveh R. Ghazi committed
  2. 31 Mar, 2002 22 commits