Skip to content
Snippets Groups Projects
  1. Aug 02, 2004
    • Mark Mitchell's avatar
      Makefile.am (hosted_source): Add libmath and testsuite. · 4c24b21a
      Mark Mitchell authored
      	* Makefile.am (hosted_source): Add libmath and testsuite.
      	(SUBDIRS): Remove them.
      	* acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding
      	on arm*-*-symbianelf*.
      	* crossconfig.m4: Add arm*-*-symbianelf* support.
      	* include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it
      	when freestanding.  Do not bring names into std:: namespace with
      	"using" when freestanding.  Declare required functions and macros
      	when freestanding.
      	* libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c
      	when freestanding.
      	* libsupc++/del_op.cc: Declare "free" only when freestanding.
      	* libsupc++/eh_alloc.cc (cstring): Include it only when hosted.
      	(malloc): Declare when freestanding.
      	(free): Likewise.
      	(memset): Likewise.
      	(__cxa_allocate_exception): Call malloc, not std::malloc.  Likewise
      	for memset.
      	(__cxa_free_exception): Likewise for free.
      	* libsupc++/new_op.cc: Declare "malloc" when freestanding.
      	* libsupc++/pure.cc (writestr): Define to nothing when
      	freestanding.
      	* libsupc++/vterminate.cc: Do not define anything when
      	freestanding.
      	* Makefile.in: Regenerated.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      	* include/Makefile.in: Likewise.
      	* libmath/Makefile.in: Likewise.
      	* libsupc++/Makefile.in: Likewise.
      	* po/Makefile.in: Likewise.
      	* src/Makefile.in: Likewise.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r85452
      4c24b21a
    • Matt Austern's avatar
      re PR libstdc++/16844 (Explicit instantiation failing) · f1197ae1
      Matt Austern authored
      	PR libstdc++/16844
      	* include/bits/stl_list.h (_M_create_node): Remove unused
      	zero-argument version.
      	* include/ext/slist (_M_create_node): Pass two arguments to
      	allocator's construct() member function.
      	* testsuite/23_containers/deque/explicit_instantiation.cc: New.
      	* testsuite/23_containers/list/explicit_instantiation.cc: New.
      	* testsuite/23_containers/vector/explicit_instantiation.cc: New.
      	* testsuite/23_containers/map/explicit_instantiation.cc: New.
      	* testsuite/23_containers/set/explicit_instantiation.cc: New.
      	* testsuite/23_containers/multimap/explicit_instantiation.cc: New.
      	* testsuite/23_containers/multiset/explicit_instantiation.cc: New.
      	* testsuite/ext/hash_set_explicit_instantiation.cc: New.
      	* testsuite/ext/slist_explicit_instantiation.cc: New.
      
      From-SVN: r85428
      f1197ae1
    • GCC Administrator's avatar
      Daily bump. · 6a3bc5b1
      GCC Administrator authored
      From-SVN: r85416
      6a3bc5b1
  2. Aug 01, 2004
  3. Jul 31, 2004
  4. Jul 30, 2004
  5. Jul 29, 2004
  6. Jul 28, 2004
    • Matt Austern's avatar
      Fix minor typo in my ChangeLog entry. · 05bfc51d
      Matt Austern authored
      From-SVN: r85266
      05bfc51d
    • Matt Austern's avatar
      stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument. · 1985f1cd
      Matt Austern authored
      	* include/bits/stl_construct.h (_Destroy): New three-argument
      	overload that takes an allocator argument.  Another inline
      	three-argument overload that takes std::allocator and dispatches
      	to the two-argument version.
      	* include/bits/stl_uninitialized.h (__uninitialized_fill_n_aux):
      	Change return type to void to match uninitialized_fill_n.
      	(__uninitialized_copy_a_): New function.  Like uninitialized_copy
      	except that it takes an allocator and uses it for construct and
      	destroy.  If the allocator is std::allocator, dispatches to
      	uninitialized_copy.
      	(__uninitialized_fill_a): Likewise.
      	(__uninitialized_fill_n_a): Likewise.
      	(__uninitialized_copy_copy): Give it an allocator argument.
      	(__uninitialized_fill_copy): Likewise.
      	(__uninitialized_copy_fill): Likewise.
      	* include/bits/deque.tcc: Use new forms defined in stl_construct.h
      	and stl_uninitialized.h.  Replace use of single-argument _Construct
      	and _Destroy with use of allocator's construct and destroy methods.
      	* include/bits/list.tcc: Likewise.
      	* include/bits/stl_deque.h: Likewise.
      	* include/bits/stl_list.h: Likewise.
      	* include/bits/stl_tree.h: Likewise.
      	* include/bits/stl_vector.h: Likewise.
      	* include/bits/vector.tcc: Likewise.
      	* include/ext/hashtable.h: Use rebind so that allocator_type
      	has correct type for a container's allocator.  Replace use of
      	single-argument _Construct and _Destroy with use of allocator's
      	construct and destroy methods.
      	* include/ext/memory (__uninitialized_copy_n_a): New function.
      	Like uninitialized_copy_n except that it takes an extra parameter,
      	an allocator, and uses it for construct and destroy operations.
      	* include/ext/rope: Use new forms defined in stl_construct.h,
      	stl_uninitialized.h, and ext/memory.  Replace use of single-argument
      	_Construct and _Destroy with allocator construct and destroy methods.
      	* include/ext/ropeimpl.h: Likewise.
      	* include/ext/slist.h: Likewise.
      	* testsuite/testsuite_allocator.h (check_construct_destroy): New.
      	* testsuite/testsuite_allocator.cc (check_construct_destroy): New.
      	* testsuite/23_containers/deque/check_construct_destroy.cc: New.
      	* testsuite/23_containers/list/check_construct_destroy.cc: New.
      	* testsuite/23_containers/set/check_construct_destroy.cc: New.
      	* testsuite/23_containers/vector/check_construct_destroy.cc: New.
      	* testsuite/ext/hash_check_construct_destroy.cc: New.
      	* testsuite/ext/slist_check_construct_destroy.cc: New.
      
      From-SVN: r85265
      1985f1cd
    • Alexandre Oliva's avatar
      Introduce sh4a support. · 312209c6
      Alexandre Oliva authored
      gcc/ChangeLog:
      Introduce sh4a support.
      * config.gcc: Handle sh4a multilibs and cpu selection.
      * config/sh/sh.h: Likewise.  Handle sh4a command line flags.
      * config/sh/t-mlib-sh4a: New.
      * config/sh/t-mlib-sh4al: New.
      * config/sh/t-mlib-sh4a-nofpu: New.
      * config/sh/t-mlib-sh4a-single: New.
      * config/sh/t-mlib-sh4a-single-only: New.
      2004-02-20  DJ Delorie  <dj@redhat.com>
      * config/sh/sh.md ("movua"): Change constraint from "m" to "Sua".
      * config/sh/sh.h (EXTRA_CONSTRAINT_S): Add "Sua" support.
      2003-08-22  Eric Christopher  <echristo@redhat.com>
      * config/sh/sh4a.md: Update for chip errata.
      2003-08-07  Eric Christopher  <echristo@redhat.com>
      * config/sh/sh4a.md: New file. sh4a processor description.
      2003-07-08  Alexandre Oliva  <aoliva@redhat.com>
      * config/sh/sh.h (TARGET_SWITCHES): Added 4al.  Adjust description
      of -m4a-nofpu.
      (SH_ASM_SPEC): Pass -dsp for -m4al, not -m4a-nofpu.
      * config/sh/t-sh (MULTILIB_MATCHES): Map -m4al to -m4a-nofpu.
      * doc/invoke.texi (SH Options): Document -m4al.
      2003-07-03  Alexandre Oliva  <aoliva@redhat.com>
      * config/sh/sh.c (expand_block_move): Remove commented-out code
      checked in by mistake.
      (sh_cannot_change_mode_class): Enable SUBREGs to be used to select
      single elements from SFmode vectors.
      * config/sh/sh.md (fsca): Use VEC_CONCAT to initialize the output
      register.
      (sinsf2, cossf2, sindf2, cosdf2): Don't emit CLOBBER.
      2003-07-01  Alexandre Oliva  <aoliva@redhat.com>
      * config/sh/sh.h (sh_fsca_sf2int, sh_fsca_df2int,
      sh_fsca_int2sf): Remove variable declarations.
      * config/sh/sh.c (sh_fsca_sf2int, sh_fsca_df2int,
      sh_fsca_int2sf): New functions.
      (sh_fsca_sf2int_rtx, sh_fsca_df2int_rtx,
      sh_fsca_int2sf_rtx): New static variables.
      * config/sh/sh-protos.h (sh_fsca_sf2int, sh_fsca_df2int,
      sh_fsca_int2sf): Declare.
      * config/sh/sh.md: Adjust.
      * doc/invoke.texi (SH Options): Document new options.
      * config/sh/lib1funcs.asm (ic_invalidate): Remove SH4a forward
      compatibility from SH4 code.
      2003-06-27  Alexandre Oliva  <aoliva@redhat.com>
      * config/sh/sh.c (expand_block_move): Don't emit POST_INC too
      early.
      (memory_movsrc_operand): Renamed to...
      (unaligned_load_operand): ... this.  Simplified.
      * config/sh/sh.h (PREDICATE_CODES): Adjust.
      * config/sh/sh.md (movua, extv, extzv): Likewise.  Change movua's
      input operand to SImode, and adjust the others.  Introduce
      post-increment by peephole.
      * config/sh/sh.c (expand_block_move): Give the target address the
      same mode as the temp reg.
      * config/sh/sh.c (expand_block_move): Use a temp reg for unaligned
      copying.
      2003-06-26  Alexandre Oliva  <aoliva@redhat.com>
      Introduce support for SH4a.
      * config/sh/lib1funcs.asm (ic_invalidate): Use icbi if
      __SH4A__.  Emit 4 4kb blocks and touch all of them otherwise.
      * config/sh/sh.c (sh_fsca_sf2int, sh_fsca_df2int,
      sh_fsca_int2sf): New.
      (sh_init_builtins): Initialize them.
      (print_operand): Support `d'.
      (expand_block_move): Use movua if src is misaligned.
      (memory_movsrc_operand): New.
      * config/sh/sh.h (TARGET_CPU_CPP_BUILTINS): Define __SH4A__
      and one of the SH4 macros.
      (SH4A_BIT, TARGET_SH4A_ARCH, TARGET_SH4A_FP,
      SELECT_SH4A_NOFPU, SELECT_SH4A_SINGLE_ONLY, SELECT_SH4A,
      SELECT_SH4A_SINGLE): New.
      (TARGET_NONE): Add SH4A_BIT.
      (TARGET_SWITCHES): Add 4a-single-only, 4a-single, 4a-nofpu and 4a.
      (SH_ASM_SPEC): Pass -dsp if -m4a-nofpu.
      (sh_fsca_sf2int, sh_fsca_df2int, sh_fsca_int2sf): Declare.
      (OVERRIDE_OPTIONS): Set cpu to CPU_SH4A when appropriate.
      (enum processor_type): Added PROCESSOR_SH4A.
      (PREDICATE_CODES): Add memory_movsrc_operand.
      * config/sh/sh.md: Removed unused variables.
      (attr cpu): Add sh4a.
      (attr type): Add movua, fsrra and fsca.
      (prefetch): New, for SH4.
      (ic_invalidate_line, ic_invalidate_line_sh4a): Use icbi.
      (toggle_sz): Set type to fp.
      (toggle_pr, rsqrtsf2, fsca, sinsf2, cossf2, sindf2, cosdf2): New.
      (movua, extv, extzv): New.
      * config/sh/t-sh: Add multilibs for 4a, 4a-nofpu, 4a-single
      and 4a-single-only.
      gcc/testsuite/ChangeLog:
      2003-07-06  Alexandre Oliva  <aoliva@redhat.com>
      * gcc.dg/sh4a-memmovua.c: Tweak regular expression.
      2003-07-01  Alexandre Oliva  <aoliva@redhat.com>
      * gcc.dg/sh4a-bitmovua.c: New.
      * gcc.dg/sh4a-cos.c: New.
      * gcc.dg/sh4a-cosf.c: New.
      * gcc.dg/sh4a-fprun.c: New.
      * gcc.dg/sh4a-fsrra.c: New.
      * gcc.dg/sh4a-memmovua.c: New.
      * gcc.dg/sh4a-sin.c: New.
      * gcc.dg/sh4a-sincos.c: New.
      * gcc.dg/sh4a-sincosf.c: New.
      * gcc.dg/sh4a-sinf.c: New.
      libstdc++-v3/ChangeLog:
      2003-10-01  Eric Christopher  <echristo@redhat.com>
      * config/cpu/sh/atomicity.h (__exchange_and_add): Remove 'm'
      constraint.
      2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
      * config/cpu/sh/atomicity.h: New.  Use movli and movco on SH4a.
      
      From-SVN: r85257
      312209c6
    • GCC Administrator's avatar
      Daily bump. · 66aeab7d
      GCC Administrator authored
      From-SVN: r85240
      66aeab7d
  7. Jul 27, 2004
  8. Jul 26, 2004
  9. Jul 25, 2004
  10. Jul 24, 2004
  11. Jul 23, 2004
  12. Jul 22, 2004
  13. Jul 21, 2004
    • Benjamin Kosnik's avatar
      mainpage.html: Clarify links. · d917fa87
      Benjamin Kosnik authored
      2004-07-21  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* docs/doxygen/mainpage.html: Clarify links.
      	* docs/doxygen/stdheader.cc: Add files.
      	* docs/doxygen/style.css: Remove bolds, add h2, h3 styles.
      	* docs/doxygen/user.cfg.in: New options, wrap.
      
      From-SVN: r85015
      d917fa87
    • GCC Administrator's avatar
      Daily bump. · 655ba9c7
      GCC Administrator authored
      From-SVN: r84987
      655ba9c7
  14. Jul 20, 2004
  15. Jul 19, 2004
  16. Jul 18, 2004
  17. Jul 17, 2004
  18. Jul 16, 2004
  19. Jul 15, 2004
  20. Jul 14, 2004
    • Paolo Carlini's avatar
      re PR libstdc++/16505 ([3.4 only] std::uninitialized_fill_n() incorrect signature) · 368b7a30
      Paolo Carlini authored
      2004-07-14  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/16505
      	* include/bits/stl_uninitialized.h (uninitialized_fill_n): Fix
      	the signature to return void, as per 20.4.4.3.
      	* include/bits/stl_vector.h (vector::vector(size_type,
      	const value_type&, const allocator_type&), vector::vector(size_type),
      	vector::_M_initialize_dispatch): Adjust callers.
      	* include/bits/vector.tcc (vector<>::_M_fill_assign,
      	vector<>::_M_fill_insert): Likewise.
      	* testsuite/20_util/memory/16505.cc: New.
      
      From-SVN: r84720
      368b7a30
    • Paolo Carlini's avatar
      12658_thread-1.cc, [...]: Use __gnu_test::try_named_locale. · 8063a355
      Paolo Carlini authored
      2004-07-14  Paolo Carlini  <pcarlini@suse.de>
      
      	* testsuite/22_locale/locale/cons/12658_thread-1.cc, 12658_thread-2.cc:
      	Use __gnu_test::try_named_locale.
      
      From-SVN: r84687
      8063a355
Loading