gcc/libstdc++-v3/testsuite
Edward Smith-Rowland a15f7cb8b8 Implement SD-6: SG10 Feature Test Recommendations
2014-10-01  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.

2014-10-01  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.

2014-10-01  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.

2014-10-01  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.

From-SVN: r215752
2014-10-01 11:49:23 +00:00
..
17_intro re PR libstdc++/60793 (Add target *-*-dragonfly* to dg-options on 172 libstdc++ tests) 2014-05-23 11:19:20 +01:00
18_support 62154.cc: Disable when the target doesn't provide atomic builtins. 2014-08-21 09:11:00 +00:00
19_diagnostics Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
20_util Implement SD-6: SG10 Feature Test Recommendations 2014-10-01 11:49:23 +00:00
21_strings basic_string.h (getline): Qualify call to prevent ADL and add overloads for rvalue streams. 2014-08-12 16:19:53 +01:00
22_locale re PR libstdc++/60793 (Add target *-*-dragonfly* to dg-options on 172 libstdc++ tests) 2014-05-23 11:19:20 +01:00
23_containers Implement SD-6: SG10 Feature Test Recommendations 2014-10-01 11:49:23 +00:00
24_iterators container.cc: Do not use uninitialized members in mem-initializers. 2014-04-15 20:05:52 +01:00
25_algorithms re PR libstdc++/59603 (std::random_shuffle tries to swap element with itself) 2014-09-12 14:30:35 +01:00
26_numerics parser.c (cp_parser_init_declarator): Remove redundant check of decl_specifiers->type. 2014-08-14 09:15:11 +00:00
27_io * testsuite/27_io/basic_ios/conv/bool_neg.cc: Add dg-do compile. 2014-09-25 11:50:31 +01:00
28_regex re PR libstdc++/63199 (Inserting std::wregex to std::vector loses some std::wregex values) 2014-09-25 04:43:19 +00:00
29_atomics re PR libstdc++/60695 (std::atomic<X> doesn't work when X is of zero size) 2014-04-15 14:48:07 +01:00
30_threads mutex (try_lock): Do not swallow exceptions. 2014-09-22 15:54:35 +01:00
abi Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
backward Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
config Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
data
decimal Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
experimental Implement SD-6: SG10 Feature Test Recommendations 2014-10-01 11:49:23 +00:00
ext *: Fix incorrect standard references in comments. 2014-08-28 16:46:02 +01:00
lib Makefile.in (dg_target_exps): Remove. 2014-09-15 20:23:36 +02:00
libstdc++-abi Makefile.in (dg_target_exps): Remove. 2014-09-15 20:23:36 +02:00
libstdc++-dg Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
libstdc++-prettyprinters printers.py (SingleObjContainerPrinter): New base class for experimental::any and experimental::optional printers. 2014-07-15 13:00:18 +01:00
libstdc++-xmethods Makefile.in (dg_target_exps): Remove. 2014-09-15 20:23:36 +02:00
performance regex_compiler.h (__detail::_BracketMatcher): Reorder members to avoid wasted space when not using a cache. 2014-06-02 20:36:14 +01:00
tr1 parser.c (cp_parser_init_declarator): Remove redundant check of decl_specifiers->type. 2014-08-14 09:15:11 +00:00
tr2 Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
util 2014-07-29 François Dumont <fdumont@gcc.gnu.org> 2014-07-29 19:47:19 +00:00
Makefile.am Makefile.in (check-parallel-%): Add @. 2014-09-22 12:33:35 -04:00
Makefile.in Makefile.in (check-parallel-%): Add @. 2014-09-22 12:33:35 -04:00