https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106534
--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> --- (In reply to Tamar Christina from comment #3) > Thanks for the repro, could you tell me what target I need to use or what > configure options to build amdgcn-amdhsa? See https://gcc.gnu.org/wiki/Offloading#How_to_build_an_offloading-enabled_GCC for some guidance. (But that's more for building a full compiler and more than you need.) I think you just need to know: --target=amdgcn-amdhsa