r215998 - in /branches/gcc-4_9-branch: gcc/c-fa...

emsr@gcc.gnu.org emsr@gcc.gnu.org
Wed Oct 8 11:05:00 GMT 2014


Author: emsr
Date: Wed Oct  8 11:05:43 2014
New Revision: 215998

URL: https://gcc.gnu.org/viewcvs?rev=215998&root=gcc&view=rev
Log:

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.


Added:
    branches/gcc-4_9-branch/libstdc++-v3/testsuite/experimental/feat-cxx14.cc
    branches/gcc-4_9-branch/libstdc++-v3/testsuite/experimental/feat-lib-fund.cc
Modified:
    branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_9-branch/libstdc++-v3/include/bits/basic_string.h
    branches/gcc-4_9-branch/libstdc++-v3/include/bits/stl_algobase.h
    branches/gcc-4_9-branch/libstdc++-v3/include/bits/stl_function.h
    branches/gcc-4_9-branch/libstdc++-v3/include/bits/unique_ptr.h
    branches/gcc-4_9-branch/libstdc++-v3/include/std/chrono
    branches/gcc-4_9-branch/libstdc++-v3/include/std/complex
    branches/gcc-4_9-branch/libstdc++-v3/include/std/iomanip
    branches/gcc-4_9-branch/libstdc++-v3/include/std/shared_mutex
    branches/gcc-4_9-branch/libstdc++-v3/include/std/tuple
    branches/gcc-4_9-branch/libstdc++-v3/include/std/type_traits
    branches/gcc-4_9-branch/libstdc++-v3/include/std/utility
    branches/gcc-4_9-branch/libstdc++-v3/testsuite/20_util/declval/requirements/1_neg.cc
    branches/gcc-4_9-branch/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc
    branches/gcc-4_9-branch/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc

Changes in other areas also in this revision:
Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp1y/feat-cxx11-neg.C
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp1y/feat-cxx11.C
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp1y/feat-cxx14.C
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp1y/feat-cxx98-neg.C
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp1y/feat-cxx98.C
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp1y/phoobhar.h
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp1y/pr57644.C
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp1y/testinc/
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp1y/testinc/phoobhar.h
Modified:
    branches/gcc-4_9-branch/gcc/c-family/ChangeLog
    branches/gcc-4_9-branch/gcc/c-family/c-cppbuiltin.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_9-branch/libcpp/ChangeLog
    branches/gcc-4_9-branch/libcpp/directives.c
    branches/gcc-4_9-branch/libcpp/expr.c
    branches/gcc-4_9-branch/libcpp/files.c
    branches/gcc-4_9-branch/libcpp/identifiers.c
    branches/gcc-4_9-branch/libcpp/internal.h
    branches/gcc-4_9-branch/libcpp/pch.c
    branches/gcc-4_9-branch/libcpp/traditional.c



More information about the Libstdc++-cvs mailing list