1. 31 Jul, 2002 21 commits
    • stormy16.h (BSS_SECTION_ASM_OP): Add missing .section prefix. · 752151e8
      
      	* config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
      	.section prefix.
      
      From-SVN: r55917
      Graham Stott committed
    • config.gcc (i[34567]86-*-darwin*): New configuration. · b069de3b
              * 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
      Stan Shebs committed
    • rs6000.c (rs6000_hash_constant): Fix hash for LABEL_REF's. · b3a646eb
      
      
      	* config/rs6000/rs6000.c (rs6000_hash_constant): Fix
      	hash for LABEL_REF's.
      
      From-SVN: r55915
      Graham Stott committed
    • rs6000.c (rs6000_hash_constant): Fix hash for LABEL_REF's. · 1de4ecb6
      
              * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
              hash for LABEL_REF's.
      
      From-SVN: r55914
      Graham Stott committed
    • rs6000.c (spe_init_builtins, [...]): Replace ANSI with K&R function def. · 23368455
      
       	* config/rs6000/rs6000.c (spe_init_builtins,
       	altivec_init_builtins, rs6000_common_init_builtins):
       	Replace ANSI with K&R function def.
      
      From-SVN: r55913
      Graham Stott committed
    • rs6000.c (spe_init_builtins, [...]): Replace ANSI with K&R function def. · b24c9d35
      
              * config/rs6000/rs6000.c (spe_init_builtins,
              altivec_init_builtins, rs6000_common_init_builtins):
              Replace ANSI with K&R function def.
      
      From-SVN: r55912
      Graham Stott committed
    • re PR libstdc++/7442 (cxxabi.h does not match the C++ ABI) · 7fed1a04
      
      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
      Benjamin Kosnik committed
    • re PR libstdc++/7442 (cxxabi.h does not match the C++ ABI) · 3bba6ebb
      
      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
      Benjamin Kosnik committed
    • fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards. · 5a53872d
      
      2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
      
      From-SVN: r55909
      Benjamin Kosnik committed
    • [multiple changes] · de17e154
      
      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
      Benjamin Kosnik committed
    • char_traits.h: Remove generic definitions. · 17655a67
      
      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
      Benjamin Kosnik committed
    • rs6000.c (validate_condition_mode): Test flag_finite_math_only for CCFPmode. · ad72b533
              * rs6000.c (validate_condition_mode): Test flag_finite_math_only
              for CCFPmode.
      
      From-SVN: r55904
      David Edelsohn committed
    • crtn.asm: Don't use __mips16 to determine the return-address offset. · 302359da
      	* 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
      Richard Sandiford committed
    • mips.md (eh_set_lr_si, [...]): Change constraints to 'd'. · ead0c1d5
      	* config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
      	constraints to 'd'.
      
      From-SVN: r55902
      Richard Sandiford committed
    • * java/awt/Frame.java (Frame): Remove println calls. · f6dbe305
      From-SVN: r55901
      Bryce McKinlay committed
    • Daily bump. · 92c3670c
      From-SVN: r55900
      GCC Administrator committed
    • elf.h (STARTFILE_SPEC): Define differently if default ABI is MEABI. · 3fb9d48a
      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
      Chris Demetriou committed
    • char_traits.h: Remove generic definitions. · f13a69ec
      
      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
      Benjamin Kosnik committed
    • * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h, · 506a61b1
      	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
      Kaveh R. Ghazi committed
    • m68hc11.h, [...] (ASM_GLOBALIZE_LABEL): Delete. · 072cdaed
      	* 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
      Kaveh R. Ghazi committed
    • extend.texi (Hints implementation): Document that GCC mostly ignores `register'. · 6fd14075
      	* doc/extend.texi (Hints implementation): Document that GCC
      	mostly ignores `register'.
      
      From-SVN: r55890
      Geoffrey Keating committed
  2. 30 Jul, 2002 19 commits