diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-10-10 16:34:28 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-10-10 16:34:28 +0100 |
commit | 9e023e3321886e0ba1ea7b25c7ef70e50c267963 (patch) | |
tree | 0ae19e10645befcea07ccd7b6638f0cdf12001ec /gcc/config.gcc | |
parent | 5f869266133f8ad66688c2ff7eaa6f7b0a0f21d0 (diff) | |
download | gcc-9e023e3321886e0ba1ea7b25c7ef70e50c267963.zip gcc-9e023e3321886e0ba1ea7b25c7ef70e50c267963.tar.gz gcc-9e023e3321886e0ba1ea7b25c7ef70e50c267963.tar.bz2 |
Implement constexpr std::addressof for C++17
* doc/xml/manual/intro.xml: Document DR 2296 status.
* doc/xml/manual/status_cxx2017.xml: Update status.
* include/bits/move.h (__addressof): Add _GLIBCXX_CONSTEXPR and
call __builtin_addressof.
(addressof): Add _GLIBCXX17_CONSTEXPR.
* testsuite/20_util/addressof/requirements/constexpr.cc: New test.
* testsuite/20_util/forward/c_neg.cc: Adjust dg-error lineno.
* testsuite/20_util/forward/f_neg.cc: Likewise.
From-SVN: r240929
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions