https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105485
--- Comment #4 from Kewen Lin <linkw at gcc dot gnu.org> --- Created attachment 52949 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52949&action=edit untested patch This attached patch can get it fixed. Will test it further and add one test case.