https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81986
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tobias Burnus <bur...@gcc.gnu.org>: https://gcc.gnu.org/g:006693a59f7cd1310aed53a2816020bedf1fb742 commit r11-7470-g006693a59f7cd1310aed53a2816020bedf1fb742 Author: Tobias Burnus <tob...@codesourcery.com> Date: Wed Mar 3 08:05:45 2021 +0100 libgfortran: Fix negation for largest integer [PR81986] libgfortran/ChangeLog: 2021-03-01 Vittorio Zecca <zec...@gmail.com> Tobias Burnus <tob...@codesourcery.com> PR libfortran/81986 * runtime/string.c (gfc_itoa): Cast to unsigned before negating.