1. 08 Jun, 2001 12 commits
    • mips.h (CPP_SPEC): Simplify .s/.S handling. · 64b172fe
      	* config/mips/mips.h (CPP_SPEC): Simplify .s/.S handling.
      	Don't define _LANGUAGE_C and variants for .cpp/.cp/.c++ files.
      	Move definition of _LANGUAGE_C_PLUS_PLUS ...
      	(CPLUSPLUS_CPP_SPEC): ... here.
      	Fixes PRs c++/3047, target/441.
      
      From-SVN: r43007
      Rainer Orth committed
    • re PR c++/3061 (kde2/artsd miscompilation (part 2)) · 85a9a0a2
              PR c++/3061
              * class.c (build_secondary_vtable): Use assert, rather than an error
              message.
              (dfs_fixup_binfo_vtbls): BINFO_VTABLE might be NULL.
              (dfs_accumulate_vtbl_inits): A lost primary virtual base may
              be between ORIG_BINFO and RTTI_BINFO, but neither of them.
              Don't set BINFO_VTABLE for a primary virtual base.
      
      Co-Authored-By: Jason Merrill <jason@redhat.com>
      
      From-SVN: r43006
      Nathan Sidwell committed
    • Daily bump. · 6a144733
      From-SVN: r43002
      GCC Administrator committed
    • update_web_docs: Only update the install documentation for the CVS HEAD. · df7ad044
      	* update_web_docs: Only update the install documentation for the
      	CVS HEAD.
      
      From-SVN: r43000
      Gerald Pfeifer committed
    • eh_alloc.cc: Ensure that required macros are defined before including gthr.h. · 7628e178
      	* libsupc++/eh_alloc.cc: Ensure that required macros are
      	defined before including gthr.h.  Ensure that we get the
      	version of gthr.h for which we know how to provide a
      	configuration.
      	* libsupc++/eh_globals.cc: Likewise.  And, bring the threading
      	code path into line with the current EH model.  Use std, where
      	appropriate.
      
      Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca>
      
      From-SVN: r42999
      Loren J. Rittle committed
    • threads-no.h: Remove file. · 5e218033
      	* config/threads-no.h: Remove file.
      	* config/threads-posix.h: Remove file.
      
      	* acconfig.h (_GLIBCPP_USE_THREADS): Remove.
      	(_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
      	(_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
      	* config.h.in: Regenerate.
      
      	* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
      	setup and use gthr*.h files.  In particular, make gthr.h files
      	namespace-clean in the staging area (they don't have to be for
      	libgcc.a).
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	* src/Makefile.am (build_headers): Remove bits/c++threads.h
      	and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
      	* src/Makefile.in: Regenerate.
      
      	* include/bits/c++config: Cleanup threading configuration macros.
      	In particular, define __STL_GTHREADS macro which controls...
      	* include/bits/stl_threads.h: ...a brand new gthr.h-based
              configuration here.
      
      	* config/c_io_stdio.h: Include staged gthr.h instead of local
      	thread configuration file.  Always use __gthread_mutex_t
      	instead of __mutext_type (or int).
      	* include/bits/std_fstream.h: Likewise.
      
      	* docs/html/17_intro/howto.html: Remove placeholder comment in
      	case this configuration patch didn't make it.  Add advice that
      	section only applies if configured with --enable-threads.
      	* docs/html/23_containers/howto.html: Reword to make clear
      	that _PTHREADS is no longer required for any port to be
      	correctly using STL with threads.  Add advice that section
      	only applies if configured with --enable-threads.
      
      Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca>
      
      From-SVN: r42998
      Loren J. Rittle committed
    • Makefile.in (AS_FOR_TARGET, [...]): If gcc/xgcc is built, use -print-prog-name… · e9a8af10
      Makefile.in (AS_FOR_TARGET, [...]): If gcc/xgcc is built, use -print-prog-name to find out the program name to use.
      
      * Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
      gcc/xgcc is built, use -print-prog-name to find out the program
      name to use.
      
      From-SVN: r42996
      Alexandre Oliva committed
    • * doc/gcc.texi: Add trailing slash to URL. · b9e18cb6
      From-SVN: r42995
      Joseph Myers committed
    • darwin.h (ENCODE_SECTION_INFO): Define. · df56a27f
              * config/darwin.h (ENCODE_SECTION_INFO): Define.
              (REDO_SECTION_INFO_P): Ditto.
              (STRIP_NAME_ENCODING): Ditto.
              (ASM_DECLARE_OBJECT_NAME): Use ENCODE_SECTION_INFO.
              (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Ditto.
              (ASM_OUTPUT_LABELREF): Use STRIP_NAME_ENCODING.
              (GEN_LAZY_PTR_NAME_FOR_SYMBOL): Ditto.
              * config/darwin.c: No longer include c-tree.h.
              (machopic_classify_ident): Rewrite to use symbol encoding.
              (lookup_name_darwin): Remove.
              (machopic_non_lazy_ptr_name): Handle encoded symbols.
              (machopic_stub_name): Use STRIP_NAME_ENCODING.
              (machopic_validate_stub_or_non_lazy_ptr): Ditto.
              (machopic_finish): Ditto, remove test of decl.
              (update_non_lazy_ptrs): New function.
              (darwin_encode_section_info): New function.
              * config/darwin-protos.h: Declare it.
              * config/rs6000/rs6000.c (machopic_output_stub): Use
              STRIP_NAME_ENCODING.
      
      From-SVN: r42994
      Stan Shebs committed
    • tree.h (DECL_SOURCE_FILE): Improve documentation. · daa8df65
      	* tree.h (DECL_SOURCE_FILE): Improve documentation.
      	(DECL_SOURCE_LINE): Likewise.
      
      	* decl.c (duplicate_decls): Update source position information
      	when a template function is defined.
      
      From-SVN: r42993
      Mark Mitchell committed
    • elf.h (MAKE_DECL_ONE_ONLY): Copy definition from config/elfos.h. · 01414194
      	* config/alpha/elf.h (MAKE_DECL_ONE_ONLY): Copy definition
      	from config/elfos.h.
      
      From-SVN: r42991
      Loren J. Rittle committed
  2. 07 Jun, 2001 20 commits
  3. 06 Jun, 2001 8 commits