gcc/libstdc++-v3
Jonathan Wakely a01462ae8b libstdc++: Fix std::format output of %C for negative years
During discussion of LWG 4022 I noticed that we do not correctly
implement floored division for the century. We were just truncating
towards zero, rather than applying the floor function. For negative
values that rounds the wrong way.

libstdc++-v3/ChangeLog:

	* include/bits/chrono_io.h (__formatter_chrono::_M_C_y_Y): Fix
	rounding for negative centuries.
	* testsuite/std/time/year/io.cc: Check %C for negative years.
2023-12-12 22:33:32 +00:00
..
config libsupc++: try cxa_thread_atexit_impl at runtime 2023-12-07 00:38:14 -03:00
doc libstdc++: Remove outdated references to buildstat.html 2023-11-21 15:58:20 +00:00
include libstdc++: Fix std::format output of %C for negative years 2023-12-12 22:33:32 +00:00
libsupc++ libsupc++: try cxa_thread_atexit_impl at runtime 2023-12-07 00:38:14 -03:00
po Update copyright years. 2023-01-16 11:52:17 +01:00
python libstdc++: Fix std::deque::operator[] Xmethod [PR112491] 2023-11-15 11:16:49 +00:00
scripts libstdc++: Add Filesystem TS and std::stacktrace symbols to libstdc++exp.a 2023-09-08 18:04:12 +01:00
src libstdc++: Remove redundant -std flags from Makefile 2023-12-12 22:32:35 +00:00
testsuite libstdc++: Fix std::format output of %C for negative years 2023-12-12 22:33:32 +00:00
acinclude.m4 libstdc++: use -D_GNU_SOURCE when building libbacktrace 2023-11-06 15:11:43 -08:00
aclocal.m4 libstdc++: Don't use gstdint.h anymore 2022-10-29 00:55:42 +01:00
ChangeLog Daily bump. 2023-12-10 00:16:47 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020
ChangeLog-2021
ChangeLog-2022 Rotate ChangeLog files. 2023-01-01 16:20:13 +01:00
config.h.in libstdc++: Regenerate config.h.in 2023-11-17 15:28:43 +00:00
configure libstdc++: Regenerate GCC_CHECK_ASSEMBLER_HWCAP users 2023-12-01 09:59:08 +01:00
configure.ac Config,Darwin: Allow for configuring Darwin to use embedded runpath. 2023-10-22 19:30:02 +01:00
configure.host LoongArch: Adjust C++ multilib header layout. 2023-09-08 17:51:06 +08:00
crossconfig.m4 libstdc++: Allow emergency EH alloc pool size to be tuned [PR68606] 2022-10-11 16:21:48 +01:00
fragment.am
linkage.m4 libstdc++: Remove handling for underscore-prefixed libm functions [PR111638] 2023-11-11 00:41:08 +00:00
Makefile.am libstdc++: Enable building libstdc++.{a,so} when !HOSTED 2023-02-06 14:23:46 +00:00
Makefile.in libstdc++: Enable building libstdc++.{a,so} when !HOSTED 2023-02-06 14:23:46 +00:00
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.