https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115056
--- Comment #9 from Sam James <sjames at gcc dot gnu.org> --- The issue is we need a program which no UB which has the bad symptoms. I can fix it up but that doesn't mean it has the symptoms you originally saw which made you report a bug.