[Bug libfortran/81986] sanitizer detects negation of large number in string.c
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 3 07:08:10 GMT 2021
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 <burnus@gcc.gnu.org>:
https://gcc.gnu.org/g:006693a59f7cd1310aed53a2816020bedf1fb742
commit r11-7470-g006693a59f7cd1310aed53a2816020bedf1fb742
Author: Tobias Burnus <tobias@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 <zeccav@gmail.com>
Tobias Burnus <tobias@codesourcery.com>
PR libfortran/81986
* runtime/string.c (gfc_itoa): Cast to unsigned before
negating.
More information about the Gcc-bugs
mailing list