[Bug sanitizer/99673] [11 Regression] bogus -Wstringop-overread warning with address sanitizer due to member address substitution

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 8 13:09:16 GMT 2021


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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
I guess sanopt could be more "careful" here but fact is the warning builds upon
wrong assumptions about the GIMPLE IL (see the examples involving CSE of
addresses of different structure).


More information about the Gcc-bugs mailing list