This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Testsuite, Patch] Fix testsuite/lib/gcc-dg.exp's scan-module-absence


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]