This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Testsuite, Patch] Fix testsuite/lib/gcc-dg.exp's scan-module-absence
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Thu, 20 Mar 2014 13:48:15 -0700
- Subject: Re: [Testsuite, Patch] Fix testsuite/lib/gcc-dg.exp's scan-module-absence
- Authentication-results: sourceware.org; auth=none
- References: <532B4081 dot 3080200 at net-b dot de>
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