https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111411
--- Comment #11 from Martin Jansa <Martin.Jansa at gmail dot com> --- I can confirm https://gcc.gnu.org/g:2d38f45bcca62ca0c7afef4b579f82c5c2a01610 fixes the other reproducer from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111418 as well. Thank you for quick fix.