https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110676
--- Comment #3 from nrk at disroot dot org --- Oops, forgot about https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107395. But that bug was for missed warning opportunity, while this one is about ASan. So I suppose both the bugs can coexist.