https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93030
--- Comment #1 from jules at gcc dot gnu.org --- Thanks for the report -- there's a fix for this on the og9 branch, but I'm not sure if I've posted that upstream (the GCN worker-partitioning patches were separated out from the deep-copy patches, so fixes around the intersection of those two features are easy to overlook). I'll dig that up and post it.