https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97348
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> --- Anyway, we should be able to work around this by having gcc explicitly pass -m sm_35 to nvptx-as: ... -#define ASM_SPEC "%{misa=*:-m %*}" +#define ASM_SPEC "%{misa=*:-m %*; :-m sm_35}" ...