https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108687
--- Comment #10 from Stefan Schulze Frielinghaus <stefansf at linux dot ibm.com> --- Can confirm the attached patch solves this issue.
stefansf at linux dot ibm.com via Gcc-bugs Fri, 10 Feb 2023 01:44:35 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108687
--- Comment #10 from Stefan Schulze Frielinghaus <stefansf at linux dot ibm.com> --- Can confirm the attached patch solves this issue.