1. 30 Oct, 2014 1 commit
  2. 18 Oct, 2014 1 commit
  3. 14 Oct, 2014 1 commit
  4. 08 Oct, 2014 2 commits
    • emsr's avatar
      · 3064627f
      emsr authored
      libcpp/
      
      2014-10-08  Edward Smith-Rowland  <3dw4rd@verizon.net>
      
      	Implement SD-6: SG10 Feature Test Recommendations
      	* internal.h (lexer_state, spec_nodes): Add in__has_include__.
      	* directives.c: Support __has_include__ builtin.
      	* expr.c (parse_has_include): New function to parse __has_include__
      	builtin; (eval_token()): Use it.
      	* files.c (_cpp_has_header()): New funtion to look for header;
      	(open_file_failed()): Not an error to not find a header file for
      	__has_include__.
      	* identifiers.c (_cpp_init_hashtable()): Add entry for __has_include__.
      	* pch.c (cpp_read_state): Lookup __has_include__.
      	* traditional.c (enum ls, _cpp_scan_out_logical_line()): Walk through
      	__has_include__ statements.
      
      
      gcc/c-family/
      
      2014-10-08  Edward Smith-Rowland  <3dw4rd@verizon.net>
      
      	Implement SD-6: SG10 Feature Test Recommendations
      	* c-cppbuiltin.c (c_cpp_builtins()): Define language feature
      	macros and the __has_header macro.
      
      
      libstdc++-v3/
      
      2014-10-08  Edward Smith-Rowland  <3dw4rd@verizon.net>
      
      	Implement SD-6: SG10 Feature Test Recommendations
      	* include/bits/basic_string.h: Add __cpp_lib feature test macro.
      	* include/bits/stl_algobase.h: Ditto.
      	* include/bits/stl_function.h: Ditto.
      	* include/bits/unique_ptr.h: Ditto.
      	* include/std/chrono: Ditto.
      	* include/std/complex: Ditto.
      	* include/std/iomanip: Ditto.
      	* include/std/shared_mutex: Ditto.
      	* include/std/tuple: Ditto.
      	* include/std/type_traits: Ditto.
      	* include/std/utility: Ditto.
      	* testsuite/experimental/feat-cxx14.cc: New.
      	* testsuite/experimental/feat-lib-fund.cc: New.
      	* testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
      	* testsuite/20_util/duration/literals/range.cc: Adjust.
      	* testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust.
      	* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Adjust.
      	* testsuite/20_util/duration/requirements/typedefs_neg3.cc: Adjust.
      	* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust.
      	* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust.
      	* testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust.
      	* testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
      	Adjust.
      
      
      gcc/testsuite/
      
      2014-10-08  Edward Smith-Rowland  <3dw4rd@verizon.net>
      
      	Implement SD-6: SG10 Feature Test Recommendations
      	* g++.dg/cpp1y/feat-cxx11-neg.C: New.
      	* g++.dg/cpp1y/feat-cxx11.C: New.
      	* g++.dg/cpp1y/feat-cxx14.C: New.
      	* g++.dg/cpp1y/feat-cxx98.C: New.
      	* g++.dg/cpp1y/feat-cxx98-neg.C: New.
      	* g++.dg/cpp1y/phoobhar.h: New.
      	* g++.dg/cpp1y/testinc/phoobhar.h: New.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215998 138bc75d-0d04-0410-961f-82ee72b054a4
      3064627f
    • redi's avatar
      * include/bits/regex.h (regex_token_iterator::_M_end_of_seq): Add · 0e81838b
      redi authored
      	const qualifier.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215996 138bc75d-0d04-0410-961f-82ee72b054a4
      0e81838b
  5. 05 Oct, 2014 1 commit
  6. 03 Oct, 2014 2 commits
  7. 02 Oct, 2014 1 commit
  8. 01 Oct, 2014 5 commits
  9. 11 Sep, 2014 1 commit
  10. 26 Aug, 2014 2 commits
  11. 09 Aug, 2014 1 commit
  12. 04 Aug, 2014 7 commits
    • redi's avatar
      Backported from mainline · 8d111023
      redi authored
      2014-07-29  Jonathan Wakely  <jwakely@redhat.com>
      
      	PR libstdc++/61946
      	* include/ext/rope (rope::rope(char_producer<_CharT>*, size_t, bool,
      	const allocator_type&)): Pass non-const allocator to
      	_S_new_RopeFunction.
      	* testsuite/ext/rope/61946.cc: New.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213612 138bc75d-0d04-0410-961f-82ee72b054a4
      8d111023
    • redi's avatar
      2014-08-04 Zifei Tong <zifeitong@gmail.com> · ca06e976
      redi authored
      	* libsupc++/atexit_thread.cc (HAVE___CXA_THREAD_ATEXIT_IMPL): Add
      	_GLIBCXX_ prefix to macro.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213605 138bc75d-0d04-0410-961f-82ee72b054a4
      ca06e976
    • redi's avatar
      2014-08-04 Samuel Bronson <naesten@gmail.com> · 70dc41fc
      redi authored
      	Backport r212453 from trunk
      	2014-07-11  Samuel Bronson  <naesten@gmail.com>
      		    Matthias Klose  <doko@ubuntu.com>
      
      	PR libstdc++/58962
      	* python/libstdcxx/v6/printers.py: Port to Python 2+3
      	(imap): New compat function.
      	(izip): Likewise.
      	(Iterator): New mixin to allow writing iterators in Python 3 style
      	regardless of which version we're running on.
      	[Python3] (long) New compat alias for "int".
      	* testsuite/lib/gdb-test.exp: Port to Python 2+3 (print syntax)
      
      	Backport r210625 from trunk
      	2014-05-19  Jonathan Wakely  <jwakely@redhat.com>
      
      	* python/libstdcxx/v6/printers.py: Use Python3 raise syntax.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213604 138bc75d-0d04-0410-961f-82ee72b054a4
      70dc41fc
    • redi's avatar
      Backported from mainline · c24a9654
      redi authored
      2014-06-10  Jonathan Wakely  <jwakely@redhat.com>
      
      	PR libstdc++/61390
      	* include/ext/pb_ds/detail/bin_search_tree_/traits.hpp
      	(bin_search_tree_traits): Do not redeclare template-parameters.
      	* testsuite/util/testsuite_iterators.h (test_container): Likewise.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213603 138bc75d-0d04-0410-961f-82ee72b054a4
      c24a9654
    • redi's avatar
      Backported from mainline · c8c43ed8
      redi authored
      2014-06-02  Jonathan Wakely  <jwakely@redhat.com>
      
      	* include/std/condition_variable (condition_variable_any::_Unlock): Do
      	not swallow __forced_unwind.
      	* include/std/future (__future_base::_Task_setter): Likewise.
      	(__future_base::_Async_state_impl): Turn __forced_unwind into broken
      	promise and rethrow.
      	* include/std/mutex (try_lock): Likewise.
      	* testsuite/30_threads/async/forced_unwind.cc: New.
      	* testsuite/30_threads/packaged_task/forced_unwind.cc: New.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213602 138bc75d-0d04-0410-961f-82ee72b054a4
      c8c43ed8
    • redi's avatar
      Backported from mainline · 690caa23
      redi authored
      2014-06-01  Jonathan Wakely  <jwakely@redhat.com>
      
      	PR libstdc++/61374
      	* include/experimental/string_view (operator basic_string): Correct
      	order of arguments.
      	(to_string): Replace with member function.
      	Add inline specifiers. Remove unused header. Remove _S_empty_rep and
      	allow _M_str to be null.
      	* testsuite/experimental/string_view/cons/char/1.cc: Adjust to new
      	default constructor semantics.
      	* testsuite/experimental/string_view/cons/wchar_t/1.cc: Likewise.
      	* testsuite/experimental/string_view/operations/copy/char/1.cc: Fix
      	copyright dates. Remove unused header.
      	* testsuite/experimental/string_view/operations/copy/wchar_t/1.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/data/char/1.cc:
      	Fix copyright dates. Adjust to new default constructor semantics.
      	* testsuite/experimental/string_view/operations/data/wchar_t/1.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/to_string/1.cc: New.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213601 138bc75d-0d04-0410-961f-82ee72b054a4
      690caa23
    • redi's avatar
      Backported from mainline · 819c6475
      redi authored
      2014-04-15  Jonathan Wakely  <jwakely@redhat.com>
      
      	* include/bits/atomic_base.h (__atomic_base<_PTp*>::_M_type_size): Add
      	const to constexpr member functions.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213600 138bc75d-0d04-0410-961f-82ee72b054a4
      819c6475
  13. 30 Jul, 2014 1 commit
    • emsr's avatar
      2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net> · 62a287fd
      emsr authored
      	PR libstdc++/60037 - SIGFPE in std::generate_canonical<unsigned int...>
      	* include/bits/random.h (_Adaptor): static_assert for non floating-point
      	result type.
      	* include/bits/random.tcc (generate_canonical): Ditto.
      	* include/ext/random.tcc (hypergeometric_distribution::operator()):
      	Use double as a rng result type.
      	* testsuite/26_numerics/random/pr60037-neg.cc: New.
      	* testsuite/ext/random/hypergeometric_distribution/pr60037.cc: New.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213231 138bc75d-0d04-0410-961f-82ee72b054a4
      62a287fd
  14. 16 Jul, 2014 1 commit
  15. 23 Jun, 2014 1 commit
    • redi's avatar
      PR libstdc++/61532 · c3a238c3
      redi authored
      	* testsuite/20_util/make_signed/requirements/typedefs-1.cc: Do not
      	apply the signed specifier to wchar_t.
      	* testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise.
      	* testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Do not
      	apply the unsigned specifier to wchar_t.
      	* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
      	Likewise.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@211914 138bc75d-0d04-0410-961f-82ee72b054a4
      c3a238c3
  16. 13 Jun, 2014 2 commits
    • redi's avatar
      * include/std/tuple (tuple_size<cv _Tp>): Implement LWG 2313. · b1820bb3
      redi authored
      	(get<_Tp>(tuple<_Types...>&&)): Use forward instead of move.
      	* testsuite/20_util/tuple/element_access/get_by_type.cc: Test rvalues.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@211637 138bc75d-0d04-0410-961f-82ee72b054a4
      b1820bb3
    • redi's avatar
      2014-06-13 Jonathan Wakely <jwakely@redhat.com> · 4658842a
      redi authored
      	Backport from mainline
      	PR libstdc++/60326
      	* include/std/type_traits (__make_unsigned, __make_signed): Define
      	specializations for wchar_t, char16_t and char32_t.
      	* testsuite/20_util/make_signed/requirements/typedefs-4.cc: New.
      	* testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Correct
      	test for make_unsigned<volatile wchar_t>.
      	* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
      	Likewise.
      	* testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
      	line number.
      	* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
      	Likewise.
      	* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
      	Likewise.
      
      	Backport from mainline
      	PR libstdc++/61269
      	* include/std/type_traits: Move include outside namespace std.
      	* testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
      	* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
      	* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
      	Likewise.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@211636 138bc75d-0d04-0410-961f-82ee72b054a4
      4658842a
  17. 07 Jun, 2014 1 commit
  18. 03 Jun, 2014 4 commits
  19. 29 May, 2014 1 commit
  20. 27 May, 2014 1 commit
  21. 23 May, 2014 1 commit
  22. 17 May, 2014 2 commits