[clang] [Clang] Enable -fextend-lifetimes at -Og (PR #118026)

Stephen Tozer via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 23 02:26:36 PDT 2025


SLTozer wrote:

> Any ideas why we might be hitting this issue? This happens during a built with `-Og`, and issue does not remove if I remove `-Og` flag.

At a glance that looks like it could be related, we generate (no-op) cleanup as part of -fextend-variable-liveness. I'll look into this, but could you clarify what you mean - did you mean that the error occurs with `-Og` and does _not_ occur when you remove `-Og`?

https://github.com/llvm/llvm-project/pull/118026


More information about the cfe-commits mailing list