https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119665
--- Comment #2 from Volodymyr Babchuk <Volodymyr_Babchuk at epam dot com> --- (In reply to Andrew Pinski from comment #1) > So -Og runs a different optimization pipeline than the other optimization > levels do. It does not do any jump threading nor other optimizations which > will confuse debugging and in this case to see if the desc is uninitialized > an optimization that is not done by -Og is needed. So, should the warning be disabled in this case?