diff options
author | Patrick Palka <ppalka@redhat.com> | 2023-05-15 12:01:07 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2023-05-15 12:01:07 -0400 |
commit | 32b81d897629b6c3bd9e2780831a1c45b38b5ac3 (patch) | |
tree | 0abc991788126e788ad7cbe6355f8d2f45210a87 /gcc/tree-data-ref.h | |
parent | 5ed880788ba33302de5d78574464201e0fecbc70 (diff) | |
download | gcc-32b81d897629b6c3bd9e2780831a1c45b38b5ac3.zip gcc-32b81d897629b6c3bd9e2780831a1c45b38b5ac3.tar.gz gcc-32b81d897629b6c3bd9e2780831a1c45b38b5ac3.tar.bz2 |
c++: add feature-test macro for auto(x)
This adds the feature-test macro for PR0849R8, as per
https://github.com/cplusplus/CWG/issues/281.
gcc/c-family/ChangeLog:
* c-cppbuiltin.cc (c_cpp_builtins): Predefine __cpp_auto_cast
for C++23.
gcc/testsuite/ChangeLog:
* g++.dg/cpp23/feat-cxx2b.C: Test __cpp_auto_cast.
Diffstat (limited to 'gcc/tree-data-ref.h')
0 files changed, 0 insertions, 0 deletions