1. 11 Apr, 2000 16 commits
    • optimize.c (remap_decl): Avoid sharing structure for arrays whose size is only known at run-time. · cba6a0b2
      	* optimize.c (remap_decl): Avoid sharing structure for arrays
      	whose size is only known at run-time.
      	* tree.c (copy_tree_r): Don't copy PARM_DECLs.
      
      From-SVN: r33081
      Mark Mitchell committed
    • cp-tree.h (lang_decl_flags): Rename constructor_for_vbase_attr to has_in_charge_parm_p. · 454fa7a7
      	* cp-tree.h (lang_decl_flags): Rename constructor_for_vbase_attr
      	to has_in_charge_parm_p.
      	(DECL_CONSTRUCTOR_FOR_VBASE_P): Rename to ...
      	(DECL_HAS_IN_CHARGE_PARM_P): ... this.
      	(DECL_COPY_CONSTRUCTOR_P): New macro.
      	* call.c (add_function_candidate): Use DECL_HAS_IN_CHARGE_PARM_P.
      	(build_user_type_conversion_1): Likewise.
      	(convert_like_real): Likewise.
      	(build_over_call): Likeiwse.  Use DECL_COPY_CONSTRUCTOR_P.
      	* decl.c (grokdeclarator): Use DECL_HAS_IN_CHARGE_PARM_P.
      	(copy_args_p): Likewise.
      	(grok_ctor_properties): Likewise.
      	(start_function): Likewise.
      	* decl2.c (maybe_retrofit_in_charge): Likewise.  Set it.
      	* error.c (dump_function_decl): Use DECL_HAS_IN_CHARGE_PARM_P.
      	* init.c (emit_base_init): Use DECL_COPY_CONSTRUCTOR_P.
      	* method.c (do_build_copy_constructor): Use
      	DECL_HAS_IN_CHARGE_PARM_P.
      	(synthesize_method): Likewise.
      	* pt.c (instantiate_template): Remove goto.
      	* tree.c (build_cplus_method_type): Remove mention of obstacks in
      	comment.
      
      From-SVN: r33080
      Mark Mitchell committed
    • cp-tre.h (finish_function): Change prototype. · 0acf7199
      	* cp-tre.h (finish_function): Change prototype.
      	* decl.c (end_cleanup_fn): Adjust caller.
      	(finish_function): Take only one parameter.
      	* decl2.c (finish_objects): Adjust caller.
      	(finish_static_storage_duration_function): Likewise.
      	* method.c (emit_thunk): Likewise.
      	* parse.y: Likewise.
      	* parse.c: Regenerated.
      	* pt.c (instantiate_decl): Likewise.
      	* rtti.c (synthesize_tinfo_fn): Likewise.
      	* semantics.c (expand_body): Likewise.
      
      	* cp-tree.h (copy_decl): New function.
      	* class.c (finish_struct_1): Use it.
      	* lex.c (copy_decl): Define it.
      	* pt.c (tsubst_decl): Likewise.
      	* tree.c (copy_template_template_parm): Likewise.
      
      From-SVN: r33079
      Mark Mitchell committed
    • Restore accidentally nuked changelog entries Mon Apr 10 07:21:13 2000 Richard... · 2133335f
      Restore accidentally nuked changelog entries
        Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
        2000-04-10  Neil Booth  <NeilB@earthling.net>
      
      From-SVN: r33078
      Nathan Sidwell committed
    • ObjectStreamException.java: New file. · d0123c54
      	* java/io/ObjectStreamException.java: New file.
      	* java/io/OptionalDataException.java: New file.
      	* java/io/StreamCorruptedException.java: New file.
      	* java/math/BigDecimal.java: New file.
      	* java/sql/CallableStatement.java: New file.
      	* java/sql/Connection.java: New file.
      	* java/sql/DataTruncation.java: New file.
      	* java/sql/DatabaseMetaData.java: New file.
      	* java/sql/Date.java: New file.
      	* java/sql/Driver.java: New file.
      	* java/sql/DriverManager.java: New file.
      	* java/sql/DriverPropertyInfo.java: New file.
      	* java/sql/PreparedStatement.java: New file.
      	* java/sql/ResultSet.java: New file.
      	* java/sql/ResultSetMetaData.java: New file.
      	* java/sql/SQLException.java: New file.
      	* java/sql/SQLWarning.java: New file.
      	* java/sql/Statement.java: New file.
      	* java/sql/Time.java: New file.
      	* java/sql/Timestamp.java: New file.
      	* java/sql/Types.java: New file.
      	* Makefile.am: Added above new files.
      	* Makefile.in: Rebuilt.
      
      	* mauve-libgcj: Turned on java.math, java.sql and java.security tests.
      	* java/net/MulticastSocket.java (MulticastSocket): Pass values a la
      	DatagramSocket constructor instead of null.
      
      java.sql is JDK 1.1 Compliant
      
      From-SVN: r33077
      Warren Levy committed
    • cppexp.c, [...]: Replace cpp_token with cpp_ttype everywhere. · 3a2b2c7a
      	* cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
      	cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
      	cpp_token with cpp_ttype everywhere.
      	* cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
      	Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
      	CPP_BUF_COL.  Line and column numbers are unsigned int, not
      	long.
      	* cpplex.c (cpp_buf_line_and_col): Delete.
      	* cpplib.h (struct cpp_buffer, struct cpp_reader): Change
      	'long lineno' to 'unsigned int lineno'.
      	(CPP_BUF_LINE, CPP_BUF_COL): New macros.
      
      From-SVN: r33076
      Zack Weinberg committed
    • Daily bump. · 6d8c68df
      From-SVN: r33075
      Jeff Law committed
    • cp-tree.h (lang_type): Remove has_nonpublic_ctor and has_nonpublic_assign_ref. · 5b0cec3b
      	* cp-tree.h (lang_type): Remove has_nonpublic_ctor and
      	has_nonpublic_assign_ref.
      	(TYPE_HAS_NONPUBLIC_CTOR): Don't declare.
      	(TYPE_HAS_NONPUBLIC_ASSIGN_REF): Likewise.
      	* class.c (finish_struct_methods): Don't set
      	TYPE_HAS_NONPUBLIC_CTOR or TYPE_HAS_NONPUBLIC_ASSIGN_REF.
      	(interface_only): Don't declare.
      	(interface_unknown): Likewise.
      
      From-SVN: r33074
      Mark Mitchell committed
    • extend.texi: ISO C99 is not a draft anymore. · 34527c47
      	* extend.texi: ISO C99 is not a draft anymore.
      	* invoke.texi: ISO C++ is not a draft anymore.
      	* cpp.texi: __cplusplus is required by the ISO standard.
      
      From-SVN: r33073
      Martin v. Löwis committed
    • Add missing table start back in. · 69942c20
      From-SVN: r33072
      Martin v. Löwis committed
    • extend.texi (-fthis-is-variable): Undocument. · 069cfbff
      	* extend.texi (-fthis-is-variable): Undocument.
      	* flags.h (warn_template_debugging): Remove declaration.
      	* gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
      	-Wenum-clash, -Wtemplate-debugging): Undocument.
      	* cp/tree.h (HAVE_TEMPLATES): Remove definition.
      	* cp/lang-options.h (-fthis-is-variable): Remove documentation.
      
      From-SVN: r33071
      Martin v. Löwis committed
    • Fix compile time warnings for arm-pe target. · e5951263
      From-SVN: r33069
      Nick Clifton committed
    • note warnings · dc4a31ee
      From-SVN: r33068
      Jason Merrill committed
    • just return failure · 1c8d13fe
      From-SVN: r33067
      Jason Merrill committed
    • class.c (instantiate_type): Handle object-relative template-id. · 2bdb0643
              * class.c (instantiate_type): Handle object-relative template-id.
      
              * semantics.c (finish_expr_stmt): Call convert_to_void here.
              * decl.c (cplus_expand_expr_stmt): Not here.
      
              * rtti.c (build_dynamic_cast_1): Call non_lvalue.
              Initialize exprtype earlier.
      
              * parse.y (fn.def1): Check for defining types in return types.
      
              * decl.c (check_tag_decl): Notice extra fundamental types.
              Diagnose empty decls in classes, too.
      
              * decl.c (grokdeclarator): Don't override an anonymous name if no
              declarator was given.
      
              * cvt.c (convert_to_void): Call resolve_offset_ref.
      
              * typeck.c (build_x_function_call): Abort if we get an OFFSET_REF.
      
              * decl2.c (decl_namespace): Handle getting a type.
      
              * typeck.c (build_c_cast): Re-enable warning for cast between
              pointer and integer of different size.
      
      From-SVN: r33066
      Jason Merrill committed
  2. 10 Apr, 2000 17 commits
  3. 09 Apr, 2000 7 commits
    • genrecog.c (pred): Update comparison_operator for the unordered operators. · 3a3677ff
              * genrecog.c (pred): Update comparison_operator for the unordered
              operators.
      
              * config/i386/i386.c (no_comparison_operator): Disallow unordered
              operators.
              (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
              (uno_comparison_operator): New.
              (put_condition_code): Handle UNORDERED/ORDERED.
              (unsigned_comparison): Likewise.
              (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
              (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
              (ix86_expand_fp_compare): Use them.  Take scratch as argument,
              update all callers.  Handle all 8 unordered operators.
              (ix86_expand_setcc): Lose the unordered argument, update all callers.
              (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
              * config/i386/i386.h (PREDICATE_CODES): Update.
              * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
              (ix86_expand_branch, ix86_expand_setcc): Update.
              * config/i386/i386.md (sunordered, sordered): New.
              (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
              (bunordered, bordered): New.
              (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
              (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
              (*fp_jcc_5, *fp_jcc_6, and splitters): New.
      
      From-SVN: r33046
      Richard Henderson committed
    • Strip '*' prefix from label names. · 00fdafef
      From-SVN: r33045
      Philip Blundell committed
    • i386.md (fix_truncsfhi2, [...]): New patterns. · 46d21d2c
      	* i386.md (fix_truncsfhi2, fix_truncdfhi2,
      	fix_truncxfhi2): New patterns.
      	* i386.c (output_fix_trunc): Handle converting to HImode.
      
      From-SVN: r33044
      John Wehle committed
    • * g++.old-deja/g++.abi/cxa_vec.C: New test. · e33c685b
      From-SVN: r33043
      Nathan Sidwell committed
    • vec.cc: Include <new> and <exception>. · b8c1233b
      	* vec.cc: Include <new> and <exception>.
      	(__cxa_vec_ctor): Use __cxa_vec_dtor for cleanup.
      	(__cxa_vec_dtor): Catch dtor exceptions, and rethrow or
      	terminate.
      	(__cxa_vec_delete): Catch dtor exceptions.
      
      From-SVN: r33042
      Nathan Sidwell committed
    • Prepend __ to implementation defined names. · 7e2d2472
      	* inc/typeinfo (type_info): Rename _name to __name.
      	(type_info::type_info): Rename parameter.
      	(type_info::operator==, type_info::operator!=,
      	type_info::before): Likewise.
      	(type_info::is_pointer_p, type_info::is_function_p,
      	type_info::do_catch, type_info::do_upcast): Prepend __. Rename
      	parameters.
      	* inc/cxxabi.h
      	(__fundamental_type_info::__fundamental_type_info) Rename parameters.
      	(__pointer_type_info::__pointer_type_info): Likewise.
      	(__pointer_type_info::is_pointer_p,
      	__pointer_type_info::do_catch): Prepend __. Rename parameters.
      	(__array_type_info::__array_type_info): Rename parameters.
      	(__function_type_info::__function_type_info): Likewise.
      	(__function_type_info::is_function_p): Prepend __.
      	(__enum_type_info::__enum_type_info): Rename parameters.
      	(__pointer_to_member_type_info::__pointer_to_member_type_info):
      	Likewise.
      	(__pointer_to_member_type_info::do_catch): Prepend __. Rename
      	parameters.
      	(__base_class_info::is_virtual_p, is_public_p, offset): Prepend	__.
      	(__class_type_info::__class_type_info): Rename parameters.
      	(__class_type_info::sub_kind): Prepend __. Adjust member names.
      	(__class_type_info::upcast_result,
      	__class_type_info::dyncast_result): Prepend __. Move definition
      	into tinfo.cc.
      	(__class_type_info::do_upcast, __class_type_info::do_catch,
      	__class_type_info::find_public_src,
      	__class_type_info::do_dyncast,
      	__class_type_info::do_find_public_src): Prepend __. Rename
      	parameters.
      	(__si_class_type_info::__si_class_type_info): Rename parameters.
      	(__si_class_type_info::do_upcast, __si_class_type_info::do_dyncast,
      	__si_class_type_info::do_find_public_src): Prepent __. Rename
      	parameters.
      	(__vmi_class_type_info::__vmi_class_type_info): Rename parameters.
      	(__vmi_class_type_info::do_upcast, __vmi_class_type_info::do_dyncast,
      	__vmi_class_type_info::do_find_public_src): Prepent __. Rename
      	parameters.
      	(__dynamic_cast): Rename parameters.
      	* tinfo.cc (type_info::is_pointer_p, type_info::is_function_p,
      	type_info::do_catch, type_info::do_upcast): Prepend __.
      	(contained_p, public_p, virtual_p, contained_public_p,
      	contained_nonpublic_p, contained_nonvirtual_p): Adjust.
      	(__class_type_info::do_catch,
      	__class_type_info::do_upcast): Prepend __. Adjust.
      	(__class_type_info::__upcast_result,
      	__class_type_info::__dyncast_result): Move from inc/cxxabi.h.
      	Adjust.
      	(__class_type_info::find_public_src): Prepend __. Adjust.
      	(__class_type_info::do_find_public_src,
      	__si_class_type_info::do_find_public_src,
      	__vmi_class_type_info::do_find_public_src): Likewise.
      	(__class_type_info::do_dyncast,
      	__si_class_type_info::do_dyncast,
      	__vmi_class_type_info::do_dyncast): Likewise.
      	(__class_type_info::do_upcast,
      	__si_class_type_info::do_upcast,
      	__vmi_class_type_info::do_upcast): Likewise.
      	(__dynamic_cast): Adjust.
      	* tinfo2.cc (__pointer_type_info::is_pointer_p): Prepend __.
      	(__function_type_info::is_function_p): Likewise.
      	(__pointer_type_info::do_catch): Likewise. Adjust.
      	(__pointer_to_member_type_info::do_catch): Likewise. Adjust.
      	(__throw_type_match_rtti_2): Adjust.
      	(__is_pointer): Adjust.
      
      From-SVN: r33041
      Nathan Sidwell committed
    • Daily bump. · c42f056a
      From-SVN: r33040
      Jeff Law committed