[Bug tree-optimization/109175] error: 'void* __builtin_memset(void*, int, long unsigned int)' writing 4 or more bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
jan.wassenberg at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Mar 24 19:44:46 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109175
--- Comment #7 from Jan Wassenberg <jan.wassenberg at gmail dot com> ---
Thanks, I will be changing the code to add a nullptr check.
More information about the Gcc-bugs
mailing list