https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109434
--- Comment #6 from Tomáš Pecka <tomas.pecka at cesnet dot cz> --- I can confirm that the bug now does not appear in our application code that I simplified into attached code. Tested on commit df7f55cb2ae. Thank you!