[Bug middle-end/98561] -Wstringop-overflow triggered when memcpy to single char and writing to differently sized array members
alexander.grund@tu-dresden.de
gcc-bugzilla@gcc.gnu.org
Wed Jan 6 17:17:08 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98561
--- Comment #2 from Alexander Grund <alexander.grund@tu-dresden.de> ---
I did some work to reduce this further: https://godbolt.org/z/sezTPs
For some reason it seems to be related to std::array. So may I suggest to
include the above (or the original reproducer) in the test cases to avoid
regressions?
More information about the Gcc-bugs
mailing list