diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-04-07 17:18:21 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-04-07 17:18:21 +0100 |
commit | c104e8f1b67a75ea82c62f1fd2aac69c09127562 (patch) | |
tree | 7f9095c5a83ad79c9fde41cb24572a793f394bf7 /gcc/fortran/intrinsic.c | |
parent | 89b01e86ff8521a0decf292595089e5631cc9320 (diff) | |
download | gcc-c104e8f1b67a75ea82c62f1fd2aac69c09127562.zip gcc-c104e8f1b67a75ea82c62f1fd2aac69c09127562.tar.gz gcc-c104e8f1b67a75ea82c62f1fd2aac69c09127562.tar.bz2 |
libstdc++: Restore ability to use <charconv> in C++14 (PR 94520)
This C++17 header is supported in C++14 as a GNU extension, but stopped
working last year because I made it depend on an internal helper which
is only defined for C++17 and up.
PR libstdc++/94520
* include/std/charconv (__integer_to_chars_result_type)
(__integer_from_chars_result_type): Use __or_ instead of __or_v_ to
allow use in C++14.
* testsuite/20_util/from_chars/1.cc: Run test as C++14 and replace
use of std::string_view with std::string.
* testsuite/20_util/from_chars/2.cc: Likewise.
* testsuite/20_util/to_chars/1.cc: Likewise.
* testsuite/20_util/to_chars/2.cc: Likewise.
Diffstat (limited to 'gcc/fortran/intrinsic.c')
0 files changed, 0 insertions, 0 deletions