https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108995
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|sanitizer |c Assignee|rguenth at gcc dot gnu.org |unassigned at gcc dot gnu.org Version|unknown |13.0 Status|ASSIGNED |NEW --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- The -O0 case is now fixed. The optimize case isn't sanitized because it's folded in the frontend - I've changed the component accordingly (but it's also diagnosed at compile-time unconditionally).