Commit Graph

44659 Commits

Author SHA1 Message Date
H.J. Lu
4e4d733e19 output.h (DECL_READONLY_SECTION): Remove.
* output.h (DECL_READONLY_SECTION): Remove.
        (decl_readonly_section): Declare.
        * varasm.c (decl_readonly_section): New.
        (default_section_type_flags, default_select_section): Use it.
        * config/arm/pe.c (arm_pe_unique_section): Likewise.
        * config/i386/interix.c (i386_pe_unique_section): Likewise.
        * config/i386/winnt.c (i386_pe_unique_section): Likewise.
        * config/mcore/mcore.c (mcore_unique_section): Likewise.
        * config/mips/mips.c (mips_unique_section): Likewise.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r55957
2002-08-01 16:29:55 -07:00
Richard Henderson
32e9b9606f integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it refers to a subroutine parameter.
* integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
        refers to a subroutine parameter.

From-SVN: r55956
2002-08-01 16:07:33 -07:00
Benjamin Kosnik
3450b8d03c re PR libstdc++/7461 (ctype<char>::classic_table() returns offset array on Cygwin)
2002-08-01  Rick Danos  <rdanos@hotmail.com>

	PR libstdc++/7461
	* config/os/newlib/ctype_noninline.h (classic_table): Add offset.
	* config/os/newlib/ctype_inline.h (is): Use static_cast.

From-SVN: r55955
2002-08-01 22:17:23 +00:00
Neil Booth
db2350e020 Makefile.am (LT_COMPILE): Remove C++ flags.
2002-08-01  Neil Booth  <neil@daikokuya.co.uk>

	* libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
	* libsupc++/Makefile.in: Regenerate.

From-SVN: r55954
2002-08-01 22:16:46 +00:00
Jakub Jelinek
81e602b572 varasm.c (assemble_visibility): Strip name encoding.
* varasm.c (assemble_visibility): Strip name encoding.

	* gcc.dg/ia64-visibility-2.c: New test.

From-SVN: r55953
2002-08-01 23:59:36 +02:00
Ian Dall
ac14c72576 ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
* config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
        (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
        when there is no frame pointer.
        (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
        registers properly.
        * config/ns32k/__unorddf2.c: New file.
        * config/ns32k/__unordsf2.c: New file.
        * config/ns32k/t-ns32k: New file.
        * config.gcc (ns32k-*-netbsd*): Use it.

From-SVN: r55949
2002-08-01 14:21:52 -07:00
Aldy Hernandez
1707273202 * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
From-SVN: r55948
2002-08-01 21:18:34 +00:00
Neil Booth
c288218ab6 * c-common.c (__GXX_ABI_VERSION): Correct spelling.
From-SVN: r55947
2002-08-01 21:10:44 +00:00
Benjamin Kosnik
43bfc248ba c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>

	* c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.

From-SVN: r55944
2002-08-01 20:10:25 +00:00
Richard Sandiford
479f2ceac0 * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
From-SVN: r55943
2002-08-01 20:08:03 +00:00
Benjamin Kosnik
7662da2f51 ptrflags.C (expect): Change
2002-08-01  Benjamin Kosnik   <bkoz@redhat.com>

        * g++.old-deja/g++.abi/ptrflags.C (expect): Change

From-SVN: r55942
2002-08-01 20:01:00 +00:00
Zdenek Dvorak
0228065963 gcse.c (expr_hash_table_size, [...]): Removed.
* gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
	n_sets): Removed.
	(expr_hash_table, set_hash_table): Type changed to ...
	(struct hash_table): New type.
	(hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call,
	insert_expr_in_table, insert_set_in_table, compute_hash_table,
	dump_hash_table, lookup_expr, lookup_set, compute_local_properties,
	compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly.
	(alloc_set_hash_table, alloc_expr_hash_table): Merged to ...
	(alloc_hash_table): New.
	(free_set_hash_table, free_expr_hash_table): Merged to ...
	(free_hash_table): New.
	(compute_set_hash_table, compute_expr_hash_table): Merged to ...
	(compute_hash_table_work): New.
	(classic_gcse, one_classic_gcse_pass, compute_cprop_data,
	find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data,
	pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse,
	one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout,
	hoist_code, one_code_hoisting_pass,
	trim_ld_motion_mems): Altered due to changed type of hash tables.

From-SVN: r55940
2002-08-01 19:10:14 +00:00
Zack Weinberg
905173ebdd final.c (output_alternate_entry_point): If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.
* final.c (output_alternate_entry_point):
	If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.

From-SVN: r55939
2002-08-01 18:37:38 +00:00
Benjamin Kosnik
0870a49046 linker-map.gnu: Change CXXABI_1 to CXXABI_1.2, GLIBCPP_3.1 to GLIBCPP_3.2.
2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
	    Jakub Jelinek  <jakub@redhat.com>

	* config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
	GLIBCPP_3.1 to GLIBCPP_3.2.

From-SVN: r55938
2002-08-01 17:25:56 +00:00
Benjamin Kosnik
5c60970a3a ptrflags.C (expect): Change __qualifier_flags to __flags.
2002-08-01  Benjamin Kosnik   <bkoz@redhat.com>

	* g++.old-deja/g++.abi/ptrflags.C (expect): Change
	__qualifier_flags to __flags.

From-SVN: r55937
2002-08-01 16:47:04 +00:00
Benjamin Kosnik
b361b922e9 ptrflags.C (expect): Change __qualifier_flags to __flags.
2002-08-01  Benjamin Kosnik   <bkoz@redhat.com>

	* g++.old-deja/g++.abi/ptrflags.C (expect): Change
	__qualifier_flags to __flags.

From-SVN: r55936
2002-08-01 16:45:55 +00:00
Mark Wielaard
fd0ba965b2 Revert patch that breaks libgcj shared library on powerpc:
* gnu/java/security/provider/Gnu.java: Reverse referencing all
	implementation classes by using Class.getName(). Uses Strings again.
	* gnu/java/security/der/DEREncodingException.java,
	gnu/java/security/provider/DERReader.java,
	gnu/java/security/provider/DERWriter.java,
	gnu/java/security/provider/DSAKeyPairGenerator.java,
	gnu/java/security/provider/DSAParameterGenerator.java,
	gnu/java/security/provider/DSAParameters.java,
	gnu/java/security/provider/DSASignature.java,
	gnu/java/security/provider/GnuDSAPrivateKey.java,
	gnu/java/security/provider/GnuDSAPublicKey.java,
	gnu/java/security/provider/MD5.java,
	gnu/java/security/util/Prime.java: Removed.
	* Makefile.am (ordinary_java_source_files): Remove above files.
	* Makefile.in: Regenerate.
	* gnu/java/security/provider/DefaultPolicy.java
	(getPermissions): Revert to maintaining static class variable of
	Permissions.
	* gnu/java/security/provider/SHA.java
	(engineUpdate): Revert algorithm change.
	(engineDigest): Revert algorithm change.

From-SVN: r55935
2002-08-01 16:06:00 +00:00
Kaveh R. Ghazi
ad0f17651d objc-act.c (encode_complete_bitfield): Add prototype and avoid ISO C style function definition.
* objc/objc-act.c (encode_complete_bitfield): Add prototype and
	avoid ISO C style function definition.

From-SVN: r55934
2002-08-01 15:43:51 +00:00
Kaveh R. Ghazi
83321d3633 * expr.c (expand_assignment): Delete unused variable.
From-SVN: r55933
2002-08-01 15:40:07 +00:00
Toon Moene
73e42cf342 c-common.c (cb_register_builtins): Set __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only is given, and to 0 otherwise.
2002-08-01  Toon Moene  <toon@moene.indiv.nluug.nl>

	* c-common.c (cb_register_builtins): Set
	__FINITE_MATH_ONLY__ to 1 if -ffinite-math-only
	is given, and to 0 otherwise.
	* combine.c (simplify_if_then_else): HONOR_NANS
	implies FLOAT_MODE_P.

From-SVN: r55932
2002-08-01 09:08:38 +00:00
GCC Administrator
e466f36952 Daily bump.
From-SVN: r55931
2002-08-01 07:17:12 +00:00
Neil Booth
78df51fe29 cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
* cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
	(cpp_handle_option): Don't handle it.
	(print_help): Update.
	* doc/cppopts.texi: Update.

From-SVN: r55925
2002-08-01 06:32:38 +00:00
Neil Booth
abecfc8f7b c-common.c (cb_register_builtins): If C++, define __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
* c-common.c (cb_register_builtins): If C++, define
	__EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
	* gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
cp:
	* lang-specs.h: Simplify in accordance with new code in
	c-common.c.

From-SVN: r55924
2002-08-01 06:25:06 +00:00
Neil Booth
4078b403a7 c-common.c: Define all C/ObjC/C++ warning and flag variables.
* c-common.c: Define all C/ObjC/C++ warning and flag variables.
	* c-common.h: Declare all C/ObjC/C++ warning and flag variables.
	* c-decl.c: Move all warning and flag variables to c-common.c.
	* c-format.c: Move all warning variables to c-common.c.
	* c-tree.h: Move all warning and flag declarations to c-common.h.
	* objc/objc-act.c: Move all warning variables to c-common.c.
	(flag_warn_protocol): Rename warn_protocol.
cp:
	* cp-tree.h: Move all warning and flag declarations to c-common.h.
	* decl.c: Move all warning and flag variables to c-common.c.
	* decl2.c: Move all warning and flag variables to c-common.c.
	* lex.c (flag_digraphs): Remove.
	(warn_traditional): Now in c-common.c.

From-SVN: r55923
2002-08-01 06:20:46 +00:00
Kaz Kojima
d8278e27fe configure.host: Add SH support.
* configure.host: Add SH support.
        * sysdep/sh/locks.h: New file.

From-SVN: r55922
2002-08-01 05:34:54 +00:00
Mark Mitchell
4ba126e468 call.c (build_field_call): Do not look up the field by name.
* call.c (build_field_call): Do not look up the field by name.
	(build_method_call): Simplify.
	(struct z_candidate): Add access_path and conversion_path.  Remove
	basetype_path.
	(convert_class_to_reference): Adjust use of
	add_function_candidate.
	(add_candidate): Add conversion_path argument.
	(add_function_candidate): Use it.
	(add_conv_dndidate): Likewise.
	(build_builtin_candidate): Likewise.
	(add_template_candidate_real): Add conversion_path argument.
	(add_template_conv_candidate): Likewise.
	(add_template_candidate): Likewise.
	(build_user_type_conversion_1): Use it.
	(build_new_function_call): Remove name lookup code.  Adjust use of
	add_template_candidate and add_function_candidate.
	(build_new_op): Likewise.
	(convert_like_real): Use build_special_member_call.
	(build_over_call): Use cand->conversion_path.
	(build_special_member_call): New method.
	(build_new_method_call): Remove name lookup code.
	* cp-tree.def (OFFSET_REF): Update documentation.
	(TEMPLATE_ID_EXPR): Likewise.
	* cp-tree.h (BASELINK_ACCESS_BINFO): New macro.
	(BASELINK_OPTYPE): Likewise.
	(build_new_method_call): Adjust prototype.
	(build_special_member_call): New method.
	(build_baselink): New method.
	(build_offset_ref_call_from_tree): Likewise.
	(build_call_from_tree): Likewise.
	(finish_qualified_call_expr): Remove.
	(finish_call_expr): Adjust prototype.
	(build_x_function_call): Remove.
	* cvt.c (ocp_convert): Use build_special_member_call.
	* decl2.c (reparse_absdcl_as_expr): Use finish_call_expr.
	(build_expr_from_tree): Adjust handling for TEMPLATE_ID_EXPR and
	CALL_EXPR.
	(build_offset_ref_call_from_tree): New function.
	(build_call_from_tree): Likewise.
	* init.c (expand_cleanup): Use build_special_member_call.
	(expand_default_init): Likewise.
	(build_member_call): Use finish_call_expr.
	(build_new_1): Use build_special_member_call.
	(push_base_cleanups): Likewise.
	* method.c (do_build_assign_ref): Likewise.
	* parse.y (template_id): Do not pass a COMPONENT_REF to
	lookup_template_function.
	(primary): Use parse_finish_call_epxr, not finish_call_expr.
	(parse_finish_call_expr): New function.
	* pt.c (lookup_template_function): Add assertions.
	* search.c (lookup_base): Allow T to be a binfo.
	(build_baselink): New function.
	(lookup_member): Use it.
	* semantics.c (finish_call_expr): Do not do name lookup.
	(finish_object_call_expr): Remove #if 0'd code.
	(finish_qualified_call_expr): Remove.
	* typeck.c (build_x_function_call): Remove.
	(build_static_case): Use build_special_member_call.
	* typeck2.c (build_functional_cast): Likewise.

	* g++.dg/inherit/operator1.C: New test.
	* g++.dg/lookup/disamb1.C: Fix typo in comment.
	* g++.dg/other/error1.C: Change expected error message.
	* g++.dg/template/conv4.C: Likewise.

From-SVN: r55920
2002-08-01 04:46:23 +00:00
John David Anglin
692f56114c * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
From-SVN: r55919
2002-08-01 01:37:45 +00:00
Graham Stott
480e7ded17 stormy16.h (BSS_SECTION_ASM_OP): Add missing .section prefix.
* config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
        .section prefix.

From-SVN: r55918
2002-07-31 23:24:18 +00:00
Graham Stott
752151e87e stormy16.h (BSS_SECTION_ASM_OP): Add missing .section prefix.
* config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
	.section prefix.

From-SVN: r55917
2002-07-31 23:21:07 +00:00
Stan Shebs
b069de3bac config.gcc (i[34567]86-*-darwin*): New configuration.
* config.gcc (i[34567]86-*-darwin*): New configuration.
        * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before
        defining.
        (TARGET_ENCODE_SECTION_INFO): Ditto.
        (ASM_PREFERRED_EH_DATA_FORMAT): Ditto.
        * config/darwin.c (machopic_indirect_data_reference): Remove
        setting of RTX_UNCHANGING_P.
        (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as
        * config/i386/t-darwin: New file.
        * config/i386/darwin.h: New file.
        * config/i386/i386.h (TARGET_MACHO): Add default definition.
        * config/i386/i386.md (tablejump): Add TARGET_MACHO case.
        * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O
        label and not the GOT add.
        (constant_address_p): For Mach-O, seeing a CONST is enough.
        (legitimate_pic_address_disp_p): Add a Mach-O case.
        (legitimate_address_p): Also test machopic_operand_p if Mach-O.
        (legitimize_pic_address): Use generic Mach-O code to legitimize.
        (output_pic_addr_const): Suppress @PLT if Mach-O, and parens
        if outputting a difference.
        (ix86_output_addr_diff_elt): Add Mach-O case.
        (ix86_expand_move): Similarly.
        (ix86_expand_call): Similarly.
        (current_machopic_label_num): New global.
        (machopic_output_stub): New function.
        (ix86_value_regno): New function.
        (ix86_function_value): Use it instead of VALUE_REGNO.
        (ix86_libcall_value): Ditto.
        * config/i386/unix.h (VALUE_REGNO): Remove.

From-SVN: r55916
2002-07-31 23:18:44 +00:00
Graham Stott
b3a646eb0f rs6000.c (rs6000_hash_constant): Fix hash for LABEL_REF's.
* config/rs6000/rs6000.c (rs6000_hash_constant): Fix
	hash for LABEL_REF's.

From-SVN: r55915
2002-07-31 23:13:25 +00:00
Graham Stott
1de4ecb683 rs6000.c (rs6000_hash_constant): Fix hash for LABEL_REF's.
* config/rs6000/rs6000.c(rs6000_hash_constant): Fix
        hash for LABEL_REF's.

From-SVN: r55914
2002-07-31 23:10:34 +00:00
Graham Stott
2336845506 rs6000.c (spe_init_builtins, [...]): Replace ANSI with K&R function def.
* config/rs6000/rs6000.c (spe_init_builtins,
 	altivec_init_builtins, rs6000_common_init_builtins):
 	Replace ANSI with K&R function def.

From-SVN: r55913
2002-07-31 23:05:26 +00:00
Graham Stott
b24c9d3540 rs6000.c (spe_init_builtins, [...]): Replace ANSI with K&R function def.
* config/rs6000/rs6000.c (spe_init_builtins,
        altivec_init_builtins, rs6000_common_init_builtins):
        Replace ANSI with K&R function def.

From-SVN: r55912
2002-07-31 22:55:34 +00:00
Benjamin Kosnik
7fed1a0444 re PR libstdc++/7442 (cxxabi.h does not match the C++ ABI)
2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
            Mark Mitchell  <mark@codesourcery.com>

	PR libstdc++/7442
	* libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
	Change to __hwm_bit.
	(__class_type_info): And here.

Co-Authored-By: Mark Mitchell <mark@codesourcery.com>

From-SVN: r55911
2002-07-31 21:50:33 +00:00
Benjamin Kosnik
3bba6ebbe4 re PR libstdc++/7442 (cxxabi.h does not match the C++ ABI)
2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/7442
	* libsupc++/cxxabi.h
	(__base_class_info): Change to __base_class_type_info. 2.9.5p6c
	(__base_class_info::__base): Change to __base_type. 2.9.5p6c
	(__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
	(__vmi_class_type_info::__base_info): Don't make const, of type
	__base_class_type_info, as per 2.9.5p6c
	(__pbase_type_info::__qualifier_flags): Change to __flags, as per
	2.9.5p7.
	(__pbase_type_info::__qualifier_masks): Change to __masks, as per
	2.9.5p7.
	(__pointer_to_member_type_info::__context_class): Change member to
	__context, as per 2.9.5p9.
	* libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
	__context.
	* libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
	__flags.
	* libsupc++/tinfo.cc (__do_find_public_src): Change __base to
	__base_type.
	* libsupc++/tinfo.cc (__do_dyncast): Same.
	* libsupc++/tinfo.cc (__do_upcast): Same.

From-SVN: r55910
2002-07-31 21:24:18 +00:00
Benjamin Kosnik
5a53872d08 fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>

	* src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.

From-SVN: r55909
2002-07-31 20:48:38 +00:00
Benjamin Kosnik
de17e15428 [multiple changes]
2002-07-31  Simon Whomsley  <whomsley@avacadcam.com>

	* docs/html/22_locale/howto.html: Fix.

2002-07-31  Alex Kompel  <shurik@sequoiap.com>

	PR libstdc++/7445
	* src/locale.cc (locale::classic): Move locks inside !_S_classic
	block.

2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>

	* docs/html/abi.txt: Update.

From-SVN: r55908
2002-07-31 19:34:08 +00:00
Benjamin Kosnik
17655a67d8 char_traits.h: Remove generic definitions.
2002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
            Gabriel Dos Reis  <gdr@nerim.net>

	* include/bits/char_traits.h: Remove generic definitions.
	* include/bits/streambuf_iterator.h (istreambuf_iterator): Use
	eof, not -2.
	* include/bits/istream.tcc (istream::readsome): Don't check
	against eof, instead use constants.
	(istream::sync): Same.
	(istream::sentry::sentry): Use eq_int_type.
	(istream::get): Same.
	* include/bits/ostream.tcc: Change __pad to
	__pad<_CharT, _Traits>::_S_pad.
	* include/bits/locale_facets.h: Add __pad_traits generic and
	ostreambuf_iterator specialization.
	* include/bits/locale_facets.tcc: Change __pad into struct __pad
	with a _CharT and _Traits template parameter and _S_pad static
	member function.
	* src/locale-inst.cc: Update __pad instantiations.

	* include/std/std_fstream.h: Declare _M_underflow_common
	specializations.
	* src/fstream.cc: New. Add _M_underflow_common specializations.
	* include/bits/fstream.tcc (filebuf::close): Use traits_type.
	(filebuf::_M_underflow_common(bool)): Remove generic version, as
	sys_ungetc and custom int_types don't get along.
	* include/std/std_streambuf.h: Add _M_pos.
	* src/Makefile.am (sources): Add fstream.cc.
	* src/Makefile.in: Regenerate.

	* testsuite/21_strings/capacity.cc: Add char_traits specializations.
	* testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
	* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
	* testsuite/22_locale/ctor_copy_dtor.cc: Same.
	* testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
	* testsuite/27_io/filebuf.cc: ...here.
	* testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
	specialization for both.
	* testsuite/27_io/streambuf.cc: Add instantiation test,
	testsuite_hooks include.
	* testsuite/27_io/istream.cc: Same.
	* testsuite/27_io/ostream.cc: Same.
	* testsuite/27_io/fstream.cc: Same.
	* testsuite/27_io/stringstream.cc: Same.
	* testsuite/27_io/filebuf.cc: Same.
	* testsuite/27_io/stringbuf.cc: Same.

From-SVN: r55905
2002-07-31 17:28:08 +00:00
David Edelsohn
ad72b5331e rs6000.c (validate_condition_mode): Test flag_finite_math_only for CCFPmode.
* rs6000.c (validate_condition_mode): Test flag_finite_math_only
        for CCFPmode.

From-SVN: r55904
2002-07-31 11:46:21 -04:00
Richard Sandiford
302359da86 crtn.asm: Don't use __mips16 to determine the return-address offset.
* config/mips/crtn.asm: Don't use __mips16 to determine the
	return-address offset.  Define RA to a suitable temporary
	register for the return address.

From-SVN: r55903
2002-07-31 08:55:57 +00:00
Richard Sandiford
ead0c1d554 mips.md (eh_set_lr_si, [...]): Change constraints to 'd'.
* config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
	constraints to 'd'.

From-SVN: r55902
2002-07-31 08:53:55 +00:00
Bryce McKinlay
f6dbe305e3 * java/awt/Frame.java (Frame): Remove println calls.
From-SVN: r55901
2002-07-31 09:19:51 +01:00
GCC Administrator
92c3670c14 Daily bump.
From-SVN: r55900
2002-07-31 07:17:08 +00:00
Chris Demetriou
3fb9d48aca elf.h (STARTFILE_SPEC): Define differently if default ABI is MEABI.
2002-07-30  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/elf.h (STARTFILE_SPEC): Define differently if
        default ABI is MEABI.  (Undoes incorrect change in Eric Christopher's
        patch on 2002-07-29.)
        * config/mips/elf64.h (STARTFILE_SPEC): Likewise.

From-SVN: r55894
2002-07-30 23:00:53 -07:00
Benjamin Kosnik
f13a69eccf char_traits.h: Remove generic definitions.
2002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
            Gabriel Dos Reis  <gdr@nerim.net>

	* include/bits/char_traits.h: Remove generic definitions.
	* include/bits/streambuf_iterator.h (istreambuf_iterator): Use
	eof, not -2.
	* include/bits/istream.tcc (istream::readsome): Don't check
	against eof, instead use constants.
	(istream::sync): Same.
	(istream::sentry::sentry): Use eq_int_type.
	(istream::get): Same.
	* include/bits/ostream.tcc: Change __pad to
	__pad<_CharT, _Traits>::_S_pad.
	* include/bits/locale_facets.h: Add __pad_traits generic and
	ostreambuf_iterator specialization.
	* include/bits/locale_facets.tcc: Change __pad into struct __pad
	with a _CharT and _Traits template parameter and _S_pad static
	member function.
	* src/locale-inst.cc: Update __pad instantiations.

	* include/std/std_fstream.h: Declare _M_underflow_common
	specializations.
	* src/fstream.cc: New. Add _M_underflow_common specializations.
	* include/bits/fstream.tcc (filebuf::close): Use traits_type.
	(filebuf::_M_underflow_common(bool)): Remove generic version, as
	sys_ungetc and custom int_types don't get along.
	* include/std/std_streambuf.h: Add _M_pos.
	* src/Makefile.am (sources): Add fstream.cc.
	* src/Makefile.in: Regenerate.

	* testsuite/21_strings/capacity.cc: Add char_traits specializations.
	* testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
	* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
	* testsuite/22_locale/ctor_copy_dtor.cc: Same.
	* testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
	* testsuite/27_io/filebuf.cc: ...here.
	* testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
	specialization for both.
	* testsuite/27_io/streambuf.cc: Add instantiation test,
	testsuite_hooks include.
	* testsuite/27_io/istream.cc: Same.
	* testsuite/27_io/ostream.cc: Same.
	* testsuite/27_io/fstream.cc: Same.
	* testsuite/27_io/stringstream.cc: Same.
	* testsuite/27_io/filebuf.cc: Same.
	* testsuite/27_io/stringbuf.cc: Same.

Co-Authored-By: Gabriel Dos Reis <gdr@nerim.net>

From-SVN: r55893
2002-07-31 02:47:36 +00:00
Kaveh R. Ghazi
506a61b144 * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
	ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
	openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
	s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
	(ASM_GLOBALIZE_LABEL): Delete.
	(GLOBAL_ASM_OP): Define.

From-SVN: r55892
2002-07-31 02:13:35 +00:00
Kaveh R. Ghazi
072cdaed4f m68hc11.h, [...] (ASM_GLOBALIZE_LABEL): Delete.
* m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.

	* defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
	* doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.

From-SVN: r55891
2002-07-31 02:10:06 +00:00
Geoffrey Keating
6fd140757c extend.texi (Hints implementation): Document that GCC mostly ignores `register'.
* doc/extend.texi (Hints implementation): Document that GCC
	mostly ignores `register'.

From-SVN: r55890
2002-07-31 00:11:31 +00:00
Bernd Schmidt
d8088c6f07 New target macro DECLARE_LIBRARY_RENAMES
From-SVN: r55889
2002-07-30 23:55:09 +00:00