https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84732

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
> So, the -Wstringop-truncation would need to do the suggested alias search
> for the store rather than next statement it does now, and in addition to
> that would need to ignore ASAN_CHECK, because those are guaranteed not to
> actually read the passed memory, just to check corresponding shadow memory.

Which is probably similar to what was seen in PR84307, am I right?

Reply via email to