https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90779
--- Comment #3 from Andrew Stubbs <ams at gcc dot gnu.org> --- My code now compiles successfully, with the patch, but it hangs at runtime. I need to investigate, but debugging runtime issues on the GPU is slow work.