[Testsuite, Patch] Fix testsuite/lib/gcc-dg.exp's scan-module-absence
Steve Kargl
sgk@troutmask.apl.washington.edu
Thu Mar 20 21:19:00 GMT 2014
On Thu, Mar 20, 2014 at 08:24:49PM +0100, Tobias Burnus wrote:
> gfortran's modules are since GCC 4.9 zipped. There are two functions,
> which test for the existence and absent of strings in the .mod files.
>
> While one was updated to apply gunzip before reading, the other wasn't.
> This patch copies over the unzip call from the other function. I have
> tested it that it properly fails if and only if the string is present in
> the (uncompressed) .mod file.
>
> OK for the trunk?
>
> Tobias
>
> PS: Thanks to Dominique for pointing out this problem!
> 2014-03-20 Tobias Burnus <burnus@net-b.de>
>
> PR fortran/60599
> * lib/gcc-dg.exp (scan-module): Uncompress .mod files for
> reading.
>
Looks good to me. Not sure, I can give an OK as the
file is outside of gfortran directories.
--
Steve
More information about the Fortran
mailing list