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

--- Comment #21 from Carlos Galvez <carlosgalvezp at gmail dot com> ---
> Why are you using the attribute at -O0?

We typically run our sanitizer builds at -O0 to ensure no UB is optimized away
before the sanitizer gets a chance to detect it. Is there a more suitable
optimization level for sanitizer?

I can also mention the problematic code is not ours, but as good practice we
aim to build all source code (internal and external) with the same flags.

Reply via email to