RFC: Proposal to adjust gfortran testing in gcc/testsuite/gfortran.dg

Jerry D jvdelisle2@gmail.com
Tue Dec 1 22:55:45 GMT 2026


Referring to this PR: 128897 - gfortran testsuite: shorten the Fortran torture list

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128897

A lot of the gfortran maintainers would like to see the torture tests reduced or 
skipped. This would help us speedup the front-end testing time.

I did quite a bit of profiling to see what we could do and concluded that the 
middle end and other phases of the compiler need these tests to avoid 
regressions.  It was suggested in the PR to possibly use an environment variable 
that when set the fortran tests are reduced by skipping some of the torture tests.

I attached a patch to the PR which serves our purposes without affecting any 
testing as is in the gcc/testsuite. By setting or clearing the 
GFORTRAN_ABBREVIATED_TEST environment variable one can choose how to test 
depending on needs.

I committed to posting to the GCC list for discussion, so this is it. I hope the 
approach is acceptable.

Best Regards,

Jerry DeLisle


More information about the Gcc mailing list