https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29383
--- Comment #17 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- Author: tschwinge Date: Thu Mar 21 18:54:50 2019 New Revision: 269845 URL: https://gcc.gnu.org/viewcvs?rev=269845&root=gcc&view=rev Log: [testsuite, Fortran] Consistently set 'DEFAULT_FFLAGS' In the same 'runtest' instance, 'global' variables persist from one '*.exp' file to another. All other '*.exp' files are using " -pedantic-errors" instead of the empty string as the default for 'DEFAULT_FFLAGS'. Thus this setting of 'DEFAULT_FFLAGS' is not idempotent, depends on whether 'gfortran.dg/ieee/ieee.exp', or an other defining '*.exp' file is executed first. gcc/testsuite/ PR fortran/29383 * gfortran.dg/ieee/ieee.exp (DEFAULT_FFLAGS): Set the same as in other '*.exp' files. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/ieee/ieee.exp