https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66215
--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I'm still missing (untested): -dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \ +dg-runtest [lsort [prune [glob -nocomplain $srcdir/$subdir/*.\[cS\]] \ + $srcdir/$subdir/hotpatch-\[0-9\]*.c]] \ "" $DEFAULT_CFLAGS or similar change in the s390.exp, otherwise you run all the hotpatch-[0-9]*.c tests once outside of the torture (with the implicit -O0) and many times in the torture mode (where it includes -O0 too).