aboutsummaryrefslogtreecommitdiff
path: root/gcc/stack-ptr-mod.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-12-14 22:14:48 +0000
committerJonathan Wakely <jwakely@redhat.com>2021-12-14 23:37:14 +0000
commit9a4b4514bde2fe2f287f6549ef51326fb8918008 (patch)
tree8a2ce1d493c6b5055caf60da02467faf5c3cd77a /gcc/stack-ptr-mod.c
parent85a438fc78dd12249ca854a3e5c577fefeb1a5cd (diff)
downloadgcc-9a4b4514bde2fe2f287f6549ef51326fb8918008.zip
gcc-9a4b4514bde2fe2f287f6549ef51326fb8918008.tar.gz
gcc-9a4b4514bde2fe2f287f6549ef51326fb8918008.tar.bz2
libstdc++: Support old and new T_FMT for en_HK locale [PR103687]
This checks whether the locale data for en_HK includes %p and adjusts the string being tested accordingly. To account for Jakub's fix to make %I parse "12" as 0 instead of 12, we need to change the expected value for the case where the locale format doesn't include %p. Also change the time from 12:00:00 to 12:02:01 so we can tell if the minutes and seconds get mixed up. libstdc++-v3/ChangeLog: PR libstdc++/103687 * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Restore original locale before returning. * testsuite/22_locale/time_get/get_time/char/2.cc: Check for %p in locale's T_FMT and adjust accordingly. * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
Diffstat (limited to 'gcc/stack-ptr-mod.c')
0 files changed, 0 insertions, 0 deletions