https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105651
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-bisection, | |needs-reduction | CC| |aldyh at gcc dot gnu.org, | |marxin at gcc dot gnu.org --- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> --- Started with r12-3347-g8af8abfbbace49e6 where new warning appeared: inlined from ‘std::string f()’ at pr105651.C:5:32: /dev/shm/gcc-bisect-bin/usr/local/include/c++/12.0.0/bits/char_traits.h:355:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ specified bound between 9223372036854775810 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=] 355 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~