https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96766
--- Comment #8 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:20ab3972240aff596a3fa98e9fb09ddc0658fbb3 commit r13-1749-g20ab3972240aff596a3fa98e9fb09ddc0658fbb3 Author: Marco Falke <falke.ma...@gmail.com> Date: Tue Jul 19 10:10:39 2022 +0100 libstdc++: Make __from_chars_alnum_to_val conversion explicit The optimizations from commit r12-8175-ga54137c88061c7 introduced a clang integer sanitizer error. Fix this with an explicit static_cast, similar to the fix for PR 96766. libstdc++-v3/ChangeLog: * include/std/charconv (__from_chars_alnum_to_val): Replace implicit conversion from int to unsigned char with explicit cast.