https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105831
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note I think most folks on AIX, uses CONFIG_SHELL=bash due to the speed of /bin/sh and configure : https://gcc.gnu.org/install/specific.html#x-ibm-aix So the patch to configure.ac while good does not do much. And IIRC nvptx target is really only tested on GNU/Linux so nvptx/gen-opt.sh will most likely only be invoked with bash (dash?). So while good, will not do much.