https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121392
--- Comment #5 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- (In reply to myself from comment #4) > But why only for 'HSA_XNACK=1' but not without Having tested a few more times, it also reproduces without 'HSA_XNACK=1'. > and why only on one of the two gfx90a systems but not the > other? (Nothing in 'dmesg'.) ..., because I had 'ROCR_VISIBLE_DEVICES' set corresponding to the other system... I'm now reproducing the occasional hang on both gfx90a systems. (I've not extensively tested any others systems/AMD GPU architectures; maybe it's indeed a general issue that only occurs occasionally? Some uninitialized variable issue, maybe?)