https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83382
--- Comment #2 from Dmitry Babokin <babokin at gmail dot com> --- (In reply to Richard Biener from comment #1) > The interaction between sanitizers and middle-end emitted warnings is > difficult at best. Can you avoid -Werror when sanitizing? I can, if it's absolutely needed. But it's convenient. I use it in creduce as a criteria that reduction haven't introduced undefined behavior. UBSAN doesn't catch uninitialized variables, so I have to add this switch. An alternative is to have two separate runs.