https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110934
--- Comment #9 from Mikael Pettersson <mikpelinux at gmail dot com> --- Created attachment 56961 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56961&action=edit proposed fix, only tested on the given test case so far