[Bug libstdc++/84671] [6/7 Regression] Chrono literals don't accept apostrophe as separator
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Mar 3 00:17:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84671
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Sat Mar 3 00:17:03 2018
New Revision: 258164
URL: https://gcc.gnu.org/viewcvs?rev=258164&root=gcc&view=rev
Log:
PR libstdc++/84671 handle digit separators in duration literals
Backport from mainline
2018-03-02 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/84671
* include/bits/parse_numbers.h (_Number_help): Add partial
specialization to handle digit separators. Adjust partial
specialization for recursion temrination to require _Pow == 1ULL.
* testsuite/20_util/duration/literals/84671.cc: New
Added:
branches/gcc-7-branch/libstdc++-v3/testsuite/20_util/duration/literals/84671.cc
Modified:
branches/gcc-7-branch/libstdc++-v3/ChangeLog
branches/gcc-7-branch/libstdc++-v3/include/bits/parse_numbers.h
More information about the Gcc-bugs
mailing list