https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96306
--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> --- At least as in-between solution, one could change libgfortran to disable HAVE_GFC_INTEGER_16 for gcn. — libgfortran exercises a lot of the integer arithmetics, which we do not need here. One just needs to ensure that mk-kinds-h.sh (and possibly mk-sik-inc.sh and mk-srk-inc.sh) does not check for "16" (in possible_integer_kinds). That could be done in a similar way as done for LIBGFOR_MINIMAL in configure.ac and passing an argument to the script in Makefile*.