OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
aldyh [Thu, 1 Aug 2002 21:18:34 +0000 (21:18 +0000)]
* config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55948 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (__GXX_ABI_VERSION): Correct spelling.
neil [Thu, 1 Aug 2002 21:10:44 +0000 (21:10 +0000)]
* c-common.c (__GXX_ABI_VERSION): Correct spelling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55947 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 1 Aug 2002 20:10:25 +0000 (20:10 +0000)]
2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55944 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
rsandifo [Thu, 1 Aug 2002 20:08:03 +0000 (20:08 +0000)]
* config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55943 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 1 Aug 2002 20:01:00 +0000 (20:01 +0000)]
2002-08-01  Benjamin Kosnik   <bkoz@redhat.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55942 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
rakdver [Thu, 1 Aug 2002 19:10:14 +0000 (19:10 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55940 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * final.c (output_alternate_entry_point):
zack [Thu, 1 Aug 2002 18:37:38 +0000 (18:37 +0000)]
* final.c (output_alternate_entry_point):
If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55939 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 1 Aug 2002 17:25:56 +0000 (17:25 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55938 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 1 Aug 2002 16:47:04 +0000 (16:47 +0000)]
2002-08-01  Benjamin Kosnik   <bkoz@redhat.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55937 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 1 Aug 2002 16:45:55 +0000 (16:45 +0000)]
2002-08-01  Benjamin Kosnik   <bkoz@redhat.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55936 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago Revert patch that breaks libgcj shared library on powerpc:
mark [Thu, 1 Aug 2002 16:06:00 +0000 (16:06 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55935 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * objc/objc-act.c (encode_complete_bitfield): Add prototype and
ghazi [Thu, 1 Aug 2002 15:43:51 +0000 (15:43 +0000)]
* objc/objc-act.c (encode_complete_bitfield): Add prototype and
avoid ISO C style function definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55934 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * expr.c (expand_assignment): Delete unused variable.
ghazi [Thu, 1 Aug 2002 15:40:07 +0000 (15:40 +0000)]
* expr.c (expand_assignment): Delete unused variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55933 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-01 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Thu, 1 Aug 2002 09:08:38 +0000 (09:08 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55932 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Thu, 1 Aug 2002 07:17:12 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55931 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
neil [Thu, 1 Aug 2002 06:32:38 +0000 (06:32 +0000)]
* cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
(cpp_handle_option): Don't handle it.
(print_help): Update.
* doc/cppopts.texi: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55925 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (cb_register_builtins): If C++, define
neil [Thu, 1 Aug 2002 06:25:06 +0000 (06:25 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55924 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c: Define all C/ObjC/C++ warning and flag variables.
neil [Thu, 1 Aug 2002 06:20:46 +0000 (06:20 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55923 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.host: Add SH support.
kkojima [Thu, 1 Aug 2002 05:34:54 +0000 (05:34 +0000)]
* configure.host: Add SH support.
        * sysdep/sh/locks.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55922 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * call.c (build_field_call): Do not look up the field by name.
mmitchel [Thu, 1 Aug 2002 04:46:23 +0000 (04:46 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55920 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
danglin [Thu, 1 Aug 2002 01:37:45 +0000 (01:37 +0000)]
* pa-linux.h (GLOBAL_ASM_OP): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55919 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
grahams [Wed, 31 Jul 2002 23:24:18 +0000 (23:24 +0000)]
    * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
        .section prefix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55918 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
grahams [Wed, 31 Jul 2002 23:21:07 +0000 (23:21 +0000)]
* config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
.section prefix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55917 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config.gcc (i[34567]86-*-darwin*): New configuration.
shebs [Wed, 31 Jul 2002 23:18:44 +0000 (23:18 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55916 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.c (rs6000_hash_constant): Fix
grahams [Wed, 31 Jul 2002 23:13:25 +0000 (23:13 +0000)]
* config/rs6000/rs6000.c (rs6000_hash_constant): Fix
hash for LABEL_REF's.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55915 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
grahams [Wed, 31 Jul 2002 23:10:34 +0000 (23:10 +0000)]
    * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
        hash for LABEL_REF's.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55914 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.c (spe_init_builtins,
grahams [Wed, 31 Jul 2002 23:05:26 +0000 (23:05 +0000)]
  * config/rs6000/rs6000.c (spe_init_builtins,
  altivec_init_builtins, rs6000_common_init_builtins):
  Replace ANSI with K&R function def.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55913 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.c (spe_init_builtins,
grahams [Wed, 31 Jul 2002 22:55:34 +0000 (22:55 +0000)]
    * config/rs6000/rs6000.c (spe_init_builtins,
        altivec_init_builtins, rs6000_common_init_builtins):
        Replace ANSI with K&R function def.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55912 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 31 Jul 2002 21:50:33 +0000 (21:50 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55911 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 31 Jul 2002 21:24:18 +0000 (21:24 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55910 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 31 Jul 2002 20:48:38 +0000 (20:48 +0000)]
2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>

* src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55909 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
bkoz [Wed, 31 Jul 2002 19:34:08 +0000 (19:34 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55908 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 31 Jul 2002 17:28:08 +0000 (17:28 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55905 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * rs6000.c (validate_condition_mode): Test flag_finite_math_only
dje [Wed, 31 Jul 2002 15:46:21 +0000 (15:46 +0000)]
    * rs6000.c (validate_condition_mode): Test flag_finite_math_only
        for CCFPmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55904 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/crtn.asm: Don't use __mips16 to determine the
rsandifo [Wed, 31 Jul 2002 08:55:57 +0000 (08:55 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55903 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
rsandifo [Wed, 31 Jul 2002 08:53:55 +0000 (08:53 +0000)]
* config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
constraints to 'd'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55902 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/awt/Frame.java (Frame): Remove println calls.
bryce [Wed, 31 Jul 2002 08:19:51 +0000 (08:19 +0000)]
* java/awt/Frame.java (Frame): Remove println calls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55901 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Wed, 31 Jul 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55900 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-30 Chris Demetriou <cgd@broadcom.com>
cgd [Wed, 31 Jul 2002 06:00:53 +0000 (06:00 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55894 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 31 Jul 2002 02:47:36 +0000 (02:47 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55893 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
ghazi [Wed, 31 Jul 2002 02:13:35 +0000 (02:13 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55892 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
ghazi [Wed, 31 Jul 2002 02:10:06 +0000 (02:10 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55891 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/extend.texi (Hints implementation): Document that GCC
geoffk [Wed, 31 Jul 2002 00:11:31 +0000 (00:11 +0000)]
* doc/extend.texi (Hints implementation): Document that GCC
mostly ignores `register'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55890 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoNew target macro DECLARE_LIBRARY_RENAMES
bernds [Tue, 30 Jul 2002 23:55:09 +0000 (23:55 +0000)]
New target macro DECLARE_LIBRARY_RENAMES

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55889 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.in: Move generic linux case to end. Copy generic
amodra [Tue, 30 Jul 2002 23:12:35 +0000 (23:12 +0000)]
* configure.in: Move generic linux case to end.  Copy generic
linux noconfigdirs to mips*-*-linux* entry and new
powerpc64*-*-linux* entry.  Add target-libffi for the latter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55888 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-30 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Tue, 30 Jul 2002 22:23:26 +0000 (22:23 +0000)]
2002-07-30  Toon Moene  <toon@moene.indiv.nluug.nl>

* flags.h: Declare flag_finite_math_only.
Use it in definition of HONOR_NANS and
HONOR_INFINITIES.
* c-common.c (cb_register_builtins): Emit
__FINITE_MATH_ONLY__ when flag_finite_math_only
is set.
* combine.c (simplify_if_then_else): If
flag_finite_math_only is set, a == b has a
definite value.
* toplev.c: Initialize flag_finite_math_only.
(set_flags_fast_math): Set it on -ffast-math.
(flag_fast_math_set_p): Test it.
doc:
* invoke.texi: Document -ffinite-math-only.
f:
* com.c (ffe_init_options): Set
flag_finite_math_only.
* invoke.texi: Document -fno-finite-math-only.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55887 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
rth [Tue, 30 Jul 2002 22:13:50 +0000 (22:13 +0000)]
    * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
        (noce_process_if_block): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55886 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoRecognize return insns even if the return appears in a parallel.
bernds [Tue, 30 Jul 2002 21:57:56 +0000 (21:57 +0000)]
Recognize return insns even if the return appears in a parallel.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55885 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoFix null pointer crash and a merge error
bernds [Tue, 30 Jul 2002 21:48:13 +0000 (21:48 +0000)]
Fix null pointer crash and a merge error

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55884 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-30 David Edelsohn <edelsohn@gnu.org>
dje [Tue, 30 Jul 2002 21:23:46 +0000 (21:23 +0000)]
2002-07-30  David Edelsohn  <edelsohn@gnu.org>
            Zack Weinberg  <zack@codesourcery.com>

        * rs6000.c (rs6000_expand_unop_builtin): Check icode not
        CODE_FOR_nothing.  Change switch to if.
        (rs6000_expand_binop_builtin): Same.
        (rs6000_expand_builtin): Expand builtin if target support enabled.
        (rs6000_init_builtins): Init builtin if target support enabled.
        (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55882 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agogcc/
sirl [Tue, 30 Jul 2002 20:40:20 +0000 (20:40 +0000)]
gcc/

* gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.

gcc/cp/

* lang-specs.h: Remove __GXX_ABI_VERSION, moved to gcc.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55880 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
rsandifo [Tue, 30 Jul 2002 19:08:23 +0000 (19:08 +0000)]
* config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55879 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * sh.md (cond_delay_slot): New attribute.
amylaar [Tue, 30 Jul 2002 17:39:27 +0000 (17:39 +0000)]
* sh.md (cond_delay_slot): New attribute.
(cbranch delay): Use it for anulled-true case.
(stuff_delay_slot): New pattern.
* sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length
delay slot insn.
(gen_far_branch): Emit stuff_delay_slot pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55878 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
amylaar [Tue, 30 Jul 2002 17:37:58 +0000 (17:37 +0000)]
* unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55877 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * fold-const.c: Fix comment typos.
kazu [Tue, 30 Jul 2002 16:42:05 +0000 (16:42 +0000)]
* fold-const.c: Fix comment typos.
* gcse.c: Likewise.
* reload1.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55876 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-29 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 30 Jul 2002 16:36:02 +0000 (16:36 +0000)]
2002-07-29  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
for TARGET_SPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55875 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-pretty-print.h (pp_c_statement): Declare.
gdr [Tue, 30 Jul 2002 13:48:06 +0000 (13:48 +0000)]
* c-pretty-print.h (pp_c_statement): Declare.
* c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC.
(pp_c_statement): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55874 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
jsturm [Tue, 30 Jul 2002 12:36:00 +0000 (12:36 +0000)]
* configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55873 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
ghazi [Tue, 30 Jul 2002 12:34:31 +0000 (12:34 +0000)]
* alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h,
ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h,
mn10200.h, mn10300.h, ns32k.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_OUTPUT_LABEL): Delete definition.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55872 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp-tree.h (VF_DERIVED_VALUE): Restore from previous deletion.
gdr [Tue, 30 Jul 2002 07:49:40 +0000 (07:49 +0000)]
* cp-tree.h (VF_DERIVED_VALUE): Restore from previous deletion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55871 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Tue, 30 Jul 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55870 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
gdr [Tue, 30 Jul 2002 06:34:57 +0000 (06:34 +0000)]
* c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
(pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR,
COMPOUND_LITERAL_EXPR, VA_ARG_EXPR.
(pp_c_expression): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55864 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp-tree.h (CLASSTYPE_VFIELDS, VF_*, BV_*): Add more
nathan [Tue, 30 Jul 2002 05:03:42 +0000 (05:03 +0000)]
* cp-tree.h (CLASSTYPE_VFIELDS, VF_*, BV_*): Add more
documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55863 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoada:
ghazi [Tue, 30 Jul 2002 02:24:17 +0000 (02:24 +0000)]
ada:
* adadecode.c (ada_demangle): Use xstrdup in lieu of
xmalloc/strcpy.
* misc.c (gnat_decode_option): Likewise.

gcc:

* alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or
concat in lieu of xmalloc/strcpy/memcpy/sprintf.
* alpha/vms-ld.c (main): Likewise.
* dsp16xx.c (double_reg_to_memory): Likewise.
* mcore.c (mcore_expand_prolog): Likewise.
* cppfiles.c (read_name_map): Likewise.
* gensupport.c (process_rtx, identify_predicable_attribute,
alter_test_for_insn): Likewise.
* vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise.

f:
* com.c (read_name_map): Use concat in lieu of xmalloc/strcpy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55861 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * builtins.c (expand_builtin): Change the default behavior to
sayle [Tue, 30 Jul 2002 02:19:43 +0000 (02:19 +0000)]
* builtins.c (expand_builtin):  Change the default behavior to
only issue an error if the builtin function doesn't have a
fallback library call.  Remove several cases handled by the
new default.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55860 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
danglin [Tue, 30 Jul 2002 01:42:19 +0000 (01:42 +0000)]
* real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
floating point format of the target is IEEE.
* (dec_f, dec_d, dec_g, dec_h): Define only if the floating point
format of the target is DEC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55859 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * unroll.c (verify_addresses): Remove.
rth [Mon, 29 Jul 2002 23:57:52 +0000 (23:57 +0000)]
    * unroll.c (verify_addresses): Remove.
        (find_splittable_givs): Never split DEST_ADDR givs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55858 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
geoffk [Mon, 29 Jul 2002 23:53:47 +0000 (23:53 +0000)]
* doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
is exhaustive.
(Files): Improve documentation on generated source files.

* doc/extend.texi (Translation implementation): Document what
diagnostics look like.
(Identifiers implementation): Document that there's normally no
limit on identifier names.
(Integers implementation): Document two's complement.
(Hints implementation): Document that GCC honours 'inline', mostly.
(Preprocessing directives implementation): Document that GCC
requires the current time.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55857 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-30 Gabriel Dos Reis <gdr@nerim.net>
gdr [Mon, 29 Jul 2002 23:42:26 +0000 (23:42 +0000)]
2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>

* c-pretty-print.h (struct c_pretty_print_info): Add new member.
(pp_initializer): New macro.
(pp_c_initializer): Declare.
* c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR.
(pp_c_initializer): Define.
(pp_c_initializer_list): New function.
(pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST,
VECTOR_CST, CONSTRUCTOR.
(pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR,
IMAGPART_EXPR.
(pp_c_cast_expression): Handle FLOAT_EXPR.
(pp_c_assignment_expression): Handle INIT_EXPR.
(pp_c_expression): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55856 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * sysdep/powerpc/locks.h: Formatting.
amodra [Mon, 29 Jul 2002 23:26:27 +0000 (23:26 +0000)]
* sysdep/powerpc/locks.h: Formatting.
(_LARX): Define.
(_STCX): Define.
(compare_and_swap): Use _LARX and _STCX.
(compare_and_swap_release): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55855 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
amodra [Mon, 29 Jul 2002 23:26:00 +0000 (23:26 +0000)]
* config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
* configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
* config/cpu/powerpc/atomicity.h (__always_swap): Remove.
(__test_and_set): Remove.
(_STWCX): Define and use.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55854 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * objc/objc-act.c (objc_init): Return immediately if filename
neil [Mon, 29 Jul 2002 22:46:34 +0000 (22:46 +0000)]
* objc/objc-act.c (objc_init): Return immediately if filename
is NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55853 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-29 Eric Christopher <echristo@redhat.com>
echristo [Mon, 29 Jul 2002 22:21:41 +0000 (22:21 +0000)]
2002-07-29  Eric Christopher  <echristo@redhat.com>

        * config/mips/elf.h: Remove ecoff.h and gofast includes.
        (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
        (SDB_DEBUGGING_INFO): Undefine.
        (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
(PUT_SDB_SIZE): Remove.
(SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
        (STARTFILE_SPEC): Add isa3264 define.
        * config/mips/elf64.h: Ditto.  Move TARGET_MEM_FUNCTIONS from here...
        * config/mips/ecoff.h: Remove. and here...
        * config/mips/iris3.h: and here...
        * config/mips/sni-svr4.h: and here...
        * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
Add assembler -mmdebug options for non-dwarf debugging.
* config/mips/r3900.h: Remove debug info defines.
        * config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
        * config/mips/isa3264.h: Ditto.
        * config/mips/t-isa3264: Fix up for file removal and gofast configure
        change.
        * config/mips/t-elf: Ditto.
        * config/mips/t-ecoff: Ditto.
        * config/mips/t-r3900: Ditto.
        * config/mips/t-iris5-6: Ditto.
        * config/mips/t-isa3264: Ditto.
        * config/mips/t-linux: Remove.
        * config/mips/t-netbsd: Remove.
        * config/mips/t-mips: New file.
        * config/mips/t-gofast: Ditto.
        * config/mips/netbsd.h: Remove unnecessary undefines.
        * config/mips/linux.h: Remove #include of mips.h.
        * config.gcc: Add mips.h include for elf targets. Remove tm_file
        for ecoff. Add gofast configure option for mips.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55852 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-29 Chris Demetriou <cgd@broadcom.com>
cgd [Mon, 29 Jul 2002 22:07:27 +0000 (22:07 +0000)]
2002-07-29  Chris Demetriou  <cgd@broadcom.com>

        * configure.in (mips*-*-*): Add a test to see if MIPS libgloss
        linker scripts use STARTUP directives consistently.
        * configure: Regenerate.
        * config.in: Regenerate.
        * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based
        on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined.
        * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
        * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if
        HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result
        will be the same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55851 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
aldyh [Mon, 29 Jul 2002 21:37:23 +0000 (21:37 +0000)]
* config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55850 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-29 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 29 Jul 2002 21:19:20 +0000 (21:19 +0000)]
2002-07-29  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55849 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-29 Aldy Hernandez <aldy@quesejoda.com>
aldyh [Mon, 29 Jul 2002 21:05:23 +0000 (21:05 +0000)]
2002-07-29  Aldy Hernandez  <aldy@quesejoda.com>

* config/rs6000/rs6000.md: Move altivec patterns from here...

* config/rs6000/altivec.md: ...to here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55848 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-29 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 29 Jul 2002 20:15:43 +0000 (20:15 +0000)]
2002-07-29  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/spe.md ("spe_evmra"): Change to unspec.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55847 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
rth [Mon, 29 Jul 2002 19:53:34 +0000 (19:53 +0000)]
    * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
        set_mem_attributes and add BITPOS argument.  Subtract it from
        OFFSET when same is adjusted.
        (set_mem_attributes): New wrapper function.
        * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
        remove offset adjustment hack.
        * expr.h (set_mem_attributes_minus_bitpos): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55846 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-29 Gabriel Dos Reis <gdr@nerim.net>
gdr [Mon, 29 Jul 2002 19:31:24 +0000 (19:31 +0000)]
2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>

* Makefile.in (C_OBJS): Include c-pretty-print.o
(c-pretty-print.o): Add depency rule.
* pretty-print.h: Add more macros.
* c-pretty-print.c: New file.
* c-pretty-print.h: Likewise.

cp/

2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>

* Make-lang.in (CXX_C_OBJS): Include.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55845 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-29 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 29 Jul 2002 19:07:10 +0000 (19:07 +0000)]
2002-07-29  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
constants to __ev64_s32__.
(__internal_ev_mwhgsmian): Same.
(__internal_ev_mwhgsmfan): Same.
(__internal_ev_mwhgssfan): Same.
(__internal_ev_mwhgumiaa): Same.
(__internal_ev_mwhgsmiaa): Same.
(__internal_ev_mwhgsmfaa): Same.
(__internal_ev_mwhgssfaa): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55844 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * varasm.c (assemble_variable): Narrow test for uninitialized
dje [Mon, 29 Jul 2002 19:01:55 +0000 (19:01 +0000)]
    * varasm.c (assemble_variable): Narrow test for uninitialized
        without BSS target support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55843 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * profile.c: Add file comment describing the overall algorithm and
nathan [Mon, 29 Jul 2002 18:40:45 +0000 (18:40 +0000)]
* profile.c: Add file comment describing the overall algorithm and
structures.
(struct edge_info): Add comments.
(struct bb_info): Add comments.
* basic-block.h (EDGE_*): Add comments.
* doc/gcov.texi (Gcov Data Files): Document bit flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55842 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/xtensa/elf.h, config/xtensa/linux.h
bwilson [Mon, 29 Jul 2002 18:07:09 +0000 (18:07 +0000)]
    * config/xtensa/elf.h, config/xtensa/linux.h
        (TARGET_OS_CPP_BUILTINS): Define.
        (CPP_PREDEFINES): Remove.
        * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define.
        (CPP_SPEC): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55840 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gensupport.c: Include hashtab.h.
zack [Mon, 29 Jul 2002 18:02:47 +0000 (18:02 +0000)]
* gensupport.c: Include hashtab.h.
(insn_elision, condition_table, hash_c_test, cmp_c_test,
maybe_eval_c_test): New routines and data structures to
support insn elision.
(init_md_reader): Read and initialize the condition_table.
(read_md_rtx): Discard insn patterns whose C test is provably
always false.
* gensupport.h: Declare new functions and data structures.

* genconditions.c, dummy-conditions.c: New files.
* Makefile.in: Build genconditions; run it to construct
insn-conditions.c; build that and link it into most gen*
programs.
(HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables.
(GEN): Delete, unused.
(STAGESTUFF): Update.

* gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to
CODE_FOR_nothing for all elided patterns.
(main): Tweaked to support this.
* genflags.c (gen_proto): Emit a static inline generator
function here for all elided patterns, which simply returns
NULL_RTX.
(gen_insn): Do not define HAVE_xxx for elided patterns.
(main): Tweaked to support this.  No need to forward-declare
struct rtx_def.
* genrecog.c: Do not bother emitting the C test if it's known
to be true at compile time.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55839 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config.gcc (target_gtfiles): Initialize, as otherwise cross compilers hosted on
mrs [Mon, 29 Jul 2002 17:25:30 +0000 (17:25 +0000)]
* config.gcc (target_gtfiles): Initialize, as otherwise cross compilers hosted on
powerpc-apple-darwin6.0 won't even build.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55838 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cplus-dem.c (PREPEND_BLANK): Remove.
neil [Mon, 29 Jul 2002 17:11:10 +0000 (17:11 +0000)]
* cplus-dem.c (PREPEND_BLANK): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55837 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
rearnsha [Mon, 29 Jul 2002 12:41:46 +0000 (12:41 +0000)]
* arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
remove clobber of LR.
(sibcall_insn, sibcall_value_insn): Update accordingly.
(sibcall_epilogue): Remove debugging comment from assembler stream.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55836 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp-tree.h: Comment typo fix.
amodra [Mon, 29 Jul 2002 11:45:33 +0000 (11:45 +0000)]
* cp-tree.h: Comment typo fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55835 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* spew.c (space_for_token): Allocate zeroed memory for a new token
rearnsha [Mon, 29 Jul 2002 10:37:25 +0000 (10:37 +0000)]
* spew.c (space_for_token): Allocate zeroed memory for a new token
chunk.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55834 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pretty-print.h: Define more macros.
gdr [Mon, 29 Jul 2002 08:26:45 +0000 (08:26 +0000)]
* pretty-print.h: Define more macros.
* diagnostic.h (output_formatted_integer): Moved from...
* diagnostic.c: ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55833 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Mon, 29 Jul 2002 07:17:07 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55832 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Mon, 29 Jul 2002 07:17:06 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55831 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc_release: Update comment.
aj [Mon, 29 Jul 2002 05:31:34 +0000 (05:31 +0000)]
* gcc_release: Update comment.

* snapshot-README: Snapshots are taken from GCC 3.2 branch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55825 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc_release: Use the 3.2 branch for snapshots.
mmitchel [Mon, 29 Jul 2002 04:46:45 +0000 (04:46 +0000)]
* gcc_release: Use the 3.2 branch for snapshots.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55824 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.
ghazi [Sun, 28 Jul 2002 22:35:21 +0000 (22:35 +0000)]
* stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55822 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
zack [Sun, 28 Jul 2002 18:44:34 +0000 (18:44 +0000)]
* defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
arguments.  Always use ".-symbol" as expression argument.
* doc/tm.texi: Update to match.  Document requirement for
".size symbol, .-symbol" to be acceptable to assembler.

* config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
config/arm/elf.h, config/avr/avr.h, config/cris/aout.h,
config/i386/freebsd-aout.h, config/i386/sco5.h,
config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h,
config/xtensa/linux.h:  Update uses of ASM_OUTPUT_MEASURED_SIZE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55820 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoUpdate version number
mmitchel [Sun, 28 Jul 2002 16:45:44 +0000 (16:45 +0000)]
Update version number

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55818 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (gengtype-lex.c): Fix error in last change.
ghazi [Sun, 28 Jul 2002 13:36:05 +0000 (13:36 +0000)]
* Makefile.in (gengtype-lex.c): Fix error in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55817 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
ghazi [Sun, 28 Jul 2002 13:00:22 +0000 (13:00 +0000)]
* alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
backslash.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55816 138bc75d-0d04-0410-961f-82ee72b054a4