https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66215
--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> --- In case somebody forces any of the torture options into the default through --target_board=unix/WHATEVER that will result in testing some option combination multiple times and -O0 never. If you want to avoid duplication, you can just set hotpatch_tests $srcdir/$subdir/hotpatch-\[0-9\]*.c and use $hotpatch_tests in both cases (untested).