https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55371
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|sanitizer |bootstrap CC| |msebor at gcc dot gnu.org Resolution|--- |WONTFIX Status|NEW |RESOLVED --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- In a recent build of GCC 11 I count 69 instances of -Wmaybe-uninitialized without sanitization but not one looking like the one in comment #0. I don't have a sanitized build handy but the instrumentation injected by the sanitizers is known to induce false positives, so (I think) GCC builds with -Wno-error=maybe-uniitialized when sanitization is enabled. There are a lot of bugs against the warning with small test cases and odds are that one of them captures the essence of this ancient bug if it is, in fact, a bug and if it hasn't disappeared by now. Since there's been no activity on this bug in almost a decade I'm going to resolve this report as WONTFIX. If it's still reproducible please reopen and attach a standalone test case to make it easy to reproduce.