https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112937
--- Comment #1 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- The unconditional GCN 'f->use_flat_addressing = true;' also has an effect on one (only!) libgomp offloading test case, for '-foffload-options=amdgcn-amdhsa=-march=gfx90a' (only!): @@ -6188,11 +6188,11 @@ PASS: libgomp.fortran/target1.f90 -O1 execution test PASS: libgomp.fortran/target1.f90 -O2 (test for excess errors) PASS: libgomp.fortran/target1.f90 -O2 execution test PASS: libgomp.fortran/target1.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for excess errors) {+WARNING: program timed out.+} [-PASS:-]{+FAIL:+} libgomp.fortran/target1.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test PASS: libgomp.fortran/target1.f90 -O3 -g (test for excess errors) {+WARNING: program timed out.+} [-PASS:-]{+FAIL:+} libgomp.fortran/target1.f90 -O3 -g execution test PASS: libgomp.fortran/target1.f90 -Os (test for excess errors) PASS: libgomp.fortran/target1.f90 -Os execution test libgomp: GCN fatal error: Asynchronous queue error Runtime message: HSA_STATUS_ERROR_INVALID_ISA: The instruction set architecture is invalid. [hangs] Huh!? That looks very odd (to me, at least). Manually trying with simply '-O3', that appears to be 100 % reproducible on our gfx90a systems -- but nowhere else. ..., and disappears with the unconditional GCN 'f->use_flat_addressing = true;' reverted. (..., which of course would regress other new test cases.)