https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105036
--- Comment #2 from Cristian Assaiante ---
Indeed, we understand some information may be lost for the sake of keeping
debug info correct.
We reported this in the first place because, besides the missing variables, a
wrong function (i.e., foo)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105036
--- Comment #1 from Richard Biener ---
I think it's expected that you lose some debugging info when optimizing. GCC
tries hard to avoid _wrong_ debug info which often results in us dropping
things more eagerly. GCC also has the intent to