1. 30 May, 2011 11 commits
  2. 29 May, 2011 19 commits
  3. 28 May, 2011 10 commits
    • re PR c++/46124 ([C++0x] ICE: tree check: expected var_decl or function_decl,… · 0fa1a986
      re PR c++/46124 ([C++0x] ICE: tree check: expected var_decl or function_decl, have error_mark in cp_parser_lambda_declarator_opt, at cp/parser.c:7817 on invalid lambda function)
      
      	PR c++/46124
      	* parser.c (cp_parser_lambda_expression): Improve error recovery.
      	(cp_parser_lambda_declarator_opt): Likewise.  Return bool.
      
      From-SVN: r174386
      Jason Merrill committed
    • re PR c++/47277 ([C++0x] pseudo destructor code that cause an internal compiler… · 32da2be4
      re PR c++/47277 ([C++0x] pseudo destructor code that cause an internal compiler error with std=gnu++0x)
      
      	PR c++/47277
      	* parser.c (cp_parser_pseudo_destructor_name): Commit to parse
      	after we see the ~.
      
      From-SVN: r174385
      Jason Merrill committed
    • pointer_to.cc: Fix. · b8d85086
      2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* testsuite/20_util/pointer_traits/pointer_to.cc: Fix.
      
      From-SVN: r174384
      Jonathan Wakely committed
    • acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and GLIBCXX_CHECK_SC_NPROCESSORS_ONLN. · 43653c33
      2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and
      	GLIBCXX_CHECK_SC_NPROCESSORS_ONLN.
      	* configure.ac: Use them. Increase minor version.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      	* include/std/thread (thread::hardware_concurrency): Remove inline
      	definition.
      	* src/thread.cc (thread::hardware_concurrency): Define.
      	* config/abi/pre/gnu.ver: Export new symbol @3.4.17
      	* testsuite/util/testsuite_abi.cc: Add new version.
      	* testsuite/lib/libstdc++.exp (check_v3_target_nprocs): Add.
      	* testsuite/lib/dg-options.exp (dg-require-nprocs): Add.
      	* testsuite/30_threads/thread/members/hardware_concurrency.cc: Use
      	dg-require-nprocs and verify hardware_concurrency returns non-zero.
      
      From-SVN: r174383
      Jonathan Wakely committed
    • genrecog.c: Remove redundant forward declarations. · e092158b
      gcc/
      	* genrecog.c: Remove redundant forward declarations.
      
      From-SVN: r174382
      Richard Sandiford committed
    • pointer_to.cc: New. · 709544ca
      2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* testsuite/20_util/pointer_traits/pointer_to.cc: New.
      
      From-SVN: r174381
      Jonathan Wakely committed
    • Makefile.am: Add new ptr_traits.h header. · 45ba8f9f
      2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* include/Makefile.am: Add new ptr_traits.h header.
      	* include/Makefile.in: Regenerate.
      	* include/bits/ptr_traits.h (pointer_traits): New.
      	* include/bits/allocator.h (allocator_traits): Add.
      	* include/ext/array_allocator.h (construct, destroy): Update C++0x
      	versions.
      	* include/ext/bitmap_allocator.h (construct, destroy): Likewise.
      	* include/ext/extptr_allocator.h (construct, destroy): Likewise.
      	* include/ext/malloc_allocator.h (construct, destroy): Likewise.
      	* include/ext/mt_allocator.h (construct, destroy): Likewise.
      	* include/ext/new_allocator.h (construct, destroy): Likewise.
      	* include/ext/pool_allocator.h (construct, destroy): Likewise.
      	* include/ext/throw_allocator.h (construct, destroy): Likewise.
      	* testsuite/20_util/allocator_traits/requirements/typedefs.cc: New.
      	* testsuite/20_util/allocator_traits/requirements/
      	explicit_instantiation.cc: New.
      	* testsuite/20_util/allocator_traits/members/max_size.cc: New.
      	* testsuite/20_util/allocator_traits/members/select.cc: New.
      	* testsuite/20_util/allocator_traits/members/construct.cc: New.
      	* testsuite/20_util/allocator_traits/members/allocate_hint.cc: New.
      	* testsuite/20_util/allocator_traits/members/destroy.cc: New.
      	* testsuite/20_util/pointer_traits/requirements/typedefs.cc: New.
      	* testsuite/20_util/pointer_traits/requirements/
      	explicit_instantiation.cc: New.
      
      From-SVN: r174380
      Jonathan Wakely committed
    • config.gcc: Deprecate mips*-*-openbsd*. · 7ca2afa0
      gcc/
      	* config.gcc: Deprecate mips*-*-openbsd*.
      
      From-SVN: r174379
      Richard Sandiford committed
    • re PR bootstrap/49195 (Error building libgcc for powerpc64 since r174305) · a601a53a
      gcc/
      	PR bootstrap/49195
      	* genrecog.c (add_to_sequence): Use XEXP rather than XVECEXP
      	for match_op_dup.
      
      From-SVN: r174378
      Richard Sandiford committed
    • mangle.c (mangle_decl_string): Make sure we don't try to mangle templates. · a6d66599
      	* mangle.c (mangle_decl_string): Make sure we don't try to mangle
      	templates.
      
      From-SVN: r174376
      Jason Merrill committed