https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109339
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |11.3.1 CC| |rguenth at gcc dot gnu.org Known to fail| |12.1.0, 13.0 Summary|stop_token compiled with |[12/13 Regression] |-Og yields |stop_token compiled with |maybe-uninitialized |-Og yields | |maybe-uninitialized --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- The warning started with r12-6677 ipa/103989 - avoid IPA inlining of small functions with -Og The following change avoids doing IPA inlining of small functions into functions compiled with -Og - those functions will see almost no followup scalar cleanups so that the benefit anticipated by the inliner will not be realized and instead the late diagnostic code will be confused by dead code that is left around.