https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117886
--- Comment #5 from Antoni <bouanto at zoho dot com> --- Andrew: what would be a better way to write this function? I do have the code in my fork to fix this specific error. I'm preparing a patch that will also fix other issues with this code.