https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128897
--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jerry DeLisle <[email protected]>: https://gcc.gnu.org/g:592f605117e6248c78b11ffd6eb29f1a13b714b7 commit r17-7143-g592f605117e6248c78b11ffd6eb29f1a13b714b7 Author: Jerry DeLisle <[email protected]> Date: Sat Nov 21 12:29:56 2026 -0800 testsuite: [PR128897] Add an abbreviated Fortran torture list Fortran run tests cycle through all six DG_TORTURE_OPTIONS entries, which takes most of the time of a gfortran and libgomp Fortran test run. With GFORTRAN_ABBREVIATED_TEST set to a non-empty string, gfortran-dg-runtest now uses -O0, -O2, and -O3 with the loop options and -g, which cuts a full check-fortran run by about 40% during front-end development. The default list is unchanged, because the other entries still reach middle-end and back-end code that these three miss. A new test pinned to -Os keeps the front-end paths that only -Os reaches. Assisted-by: Claude Opus 5.5 PR testsuite/128897 gcc/ChangeLog: * doc/sourcebuild.texi (Torture Tests): Document GFORTRAN_TORTURE_OPTIONS and GFORTRAN_ABBREVIATED_TEST. gcc/testsuite/ChangeLog: * lib/gfortran-dg.exp (GFORTRAN_TORTURE_OPTIONS): New variable: DG_TORTURE_OPTIONS, or an abbreviated list when GFORTRAN_ABBREVIATED_TEST is set. (gfortran-dg-runtest): Use it instead of DG_TORTURE_OPTIONS. * gfortran.dg/optimize_size_1.f90: New test. libgomp/ChangeLog: * testsuite/libgomp.fortran/fortran.exp: Update comment. * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise.
