Hello, On Fri, 10 Sep 2021, Richard Biener via Gcc-patches wrote:
> diagnostic from the Ada frontend. The warnings are pruned from the > testsuite output via prune_gcc_output but somehow this doesn't work > for the tests in gfortran.dg/debug which are now failing with excess > errors. That seems to be the case for other fortran .exp as well > when appending -gstabs, something which works fine for gcc or g++ dgs. Fortran emits warnings with a capitalized 'W'. Your regexp only checks for lower-case. > + # Ignore stabs obsoletion warnings > + regsub -all "(^|\n)\[^\n\]*warning: STABS debugging information is > obsolete and not supported anymore\[^\n\]*" $text "" text This needs to be ".arning" or "\[Ww\]arning". Ciao, Michael.