aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/decl.c
diff options
context:
space:
mode:
authorJeanHeyd Meneide <phdofthehouse@gmail.com>2020-12-03 19:17:13 +0000
committerJonathan Wakely <jwakely@redhat.com>2020-12-03 19:17:13 +0000
commit57d76ee9cf6265e012fad6286adfaeaba9414c11 (patch)
tree1ff09050c875a5ad18866930b481a3a235e3abf2 /gcc/fortran/decl.c
parent9e433b3461ab64b38350817392a77efb67bb78b4 (diff)
downloadgcc-57d76ee9cf6265e012fad6286adfaeaba9414c11.zip
gcc-57d76ee9cf6265e012fad6286adfaeaba9414c11.tar.gz
gcc-57d76ee9cf6265e012fad6286adfaeaba9414c11.tar.bz2
libtdc++: Define std::source_location for C++20
This doesn't define a new _GLIBCXX_HAVE_BUILTIN_SOURCE_LOCATION macro. because using __has_builtin(__builtin_source_location) is sufficient. Currently only GCC supports it, but if/when Clang and Intel add it the __has_builtin check should for them too. Co-authored-by: Jonathan Wakely <jwakely@redhat.com> libstdc++-v3/ChangeLog: * doc/doxygen/user.cfg.in (INPUT): Add <source_location>. * include/Makefile.am: Add <source_location>. * include/Makefile.in: Regenerate. * include/std/version (__cpp_lib_source_location): Define. * include/std/source_location: New file. * testsuite/18_support/source_location/1.cc: New test. * testsuite/18_support/source_location/consteval.cc: New test. * testsuite/18_support/source_location/srcloc.h: New test. * testsuite/18_support/source_location/version.cc: New test.
Diffstat (limited to 'gcc/fortran/decl.c')
0 files changed, 0 insertions, 0 deletions