https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99265
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:75c74a83acee3f51e6753b8159fa600fe2d86810 commit r11-7388-g75c74a83acee3f51e6753b8159fa600fe2d86810 Author: Jonathan Wakely <jwak...@redhat.com> Date: Thu Feb 25 11:48:18 2021 +0000 libstdc++: Fix narrowing conversion in year_month_day [PR 99265] libstdc++-v3/ChangeLog: PR libstdc++/99265 * include/std/chrono (year_month_day::_S_from_days): Cast long to int explicitly.