https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116502
--- Comment #2 from Dan Klishch <daklishch at gmail dot com> --- Can confirm that the patch fixes both the minified reproducer from the bug report and also the original reproducer (TestAsyncTestStreams from SerenityOS).