Re: [PATCH] libstdc++: Fix arithmetic bug in chrono::year_month::operator+

2020-08-27 Thread Jonathan Wakely via Gcc-patches
On 27/08/20 12:37 -0400, Patrick Palka wrote: On Thu, 27 Aug 2020, Jonathan Wakely wrote: On 27/08/20 11:29 -0400, Patrick Palka via Libstdc++ wrote: > This fixes the months-based addition for year_month when the > year_month's month component is zero. > > Successfully tested on x86_64-pc-linux

Re: [PATCH] libstdc++: Fix arithmetic bug in chrono::year_month::operator+

2020-08-27 Thread Patrick Palka via Gcc-patches
On Thu, 27 Aug 2020, Jonathan Wakely wrote: > On 27/08/20 11:29 -0400, Patrick Palka via Libstdc++ wrote: > > This fixes the months-based addition for year_month when the > > year_month's month component is zero. > > > > Successfully tested on x86_64-pc-linux-gnu, on the 'date' library's > > cale

Re: [PATCH] libstdc++: Fix arithmetic bug in chrono::year_month::operator+

2020-08-27 Thread Jonathan Wakely via Gcc-patches
On 27/08/20 11:29 -0400, Patrick Palka via Libstdc++ wrote: This fixes the months-based addition for year_month when the year_month's month component is zero. Successfully tested on x86_64-pc-linux-gnu, on the 'date' library's calendar and (now) on libcxx's calendar tests. Does this look OK to