1. 31 Jul, 2002 5 commits
    • 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 23 commits
  3. 29 Jul, 2002 12 commits
    • unroll.c (verify_addresses): Remove. · b642261e
              * unroll.c (verify_addresses): Remove.
              (find_splittable_givs): Never split DEST_ADDR givs.
      
      From-SVN: r55858
      Richard Henderson committed
    • gty.texi (GGC Roots): Clarify that the list of syntaxes is exhaustive. · cba57c9d
      	* 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.
      
      From-SVN: r55857
      Geoffrey Keating committed
    • c-pretty-print.h (struct c_pretty_print_info): Add new member. · 76a8ecba
      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.
      
      From-SVN: r55856
      Gabriel Dos Reis committed
    • locks.h: Formatting. · 61fd68b4
      	* sysdep/powerpc/locks.h: Formatting.
      	(_LARX): Define.
      	(_STCX): Define.
      	(compare_and_swap): Use _LARX and _STCX.
      	(compare_and_swap_release): Likewise.
      
      From-SVN: r55855
      Alan Modra committed
    • cpu_limits.h (__glibcpp_long_bits): Define. · bd11db39
      	* 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.
      
      From-SVN: r55854
      Alan Modra committed
    • objc-act.c (objc_init): Return immediately if filename is NULL. · 4307be72
      	* objc/objc-act.c (objc_init): Return immediately if filename
      	is NULL.
      
      From-SVN: r55853
      Neil Booth committed
    • elf.h: Remove ecoff.h and gofast includes. · 6d439235
      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.
      
      From-SVN: r55852
      Eric Christopher committed
    • configure.in (mips*-*-*): Add a test to see if MIPS libgloss linker scripts use… · 4357a6c3
      configure.in (mips*-*-*): Add a test to see if MIPS libgloss linker scripts use STARTUP directives...
      
      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.
      
      From-SVN: r55851
      Chris Demetriou committed
    • rs6000.h (RTX_COSTS): Add MULT case for 8540. · a23acaa6
      2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
      
      	* config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.
      
      From-SVN: r55849
      Aldy Hernandez committed
    • rs6000.md: Move altivec patterns from here... · 10ed84db
      2002-07-29  Aldy Hernandez  <aldy@quesejoda.com>
      
      	* config/rs6000/rs6000.md: Move altivec patterns from here...
      
      	* config/rs6000/altivec.md: ...to here.
      
      From-SVN: r55848
      Aldy Hernandez committed
    • spe.md ("spe_evmra"): Change to unspec. · c3021e5d
      2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
      
      	* config/rs6000/spe.md ("spe_evmra"): Change to unspec.
      
      From-SVN: r55847
      Aldy Hernandez committed