https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102466
Mathieu Malaterre <mathieu.malaterre at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mathieu.malaterre at gmail dot
com
--- Comment #3 from Mathieu Malaterre <mathieu.malaterre at gmail dot com> ---
This is also triggered in libjxl codebase:
* https://github.com/libjxl/libjxl/blob/main/tools/fuzzer_corpus.cc
/usr/include/c++/11/bits/stl_algobase.h:431:30: warning: 'void*
__builtin_memmove(void*, const void*, long unsigned int)' writing 1 or more
bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
431 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~