[Patch, Fortran] PR32359 OpenMP threadprivate: SAVE is implied by explicit initialization

FX Coudert fxcoudert@gmail.com
Sat Jun 16 21:32:00 GMT 2007


> The testsuites libgomp & gfortran have no failures but:
> gfortran.dg/module_md5_1.f90; after glancing at module.c I still don't
> quite understand why, but I get the MD5 sum:
> MD5:2acedc3d584fad6aae6248078b02aa38 instead of
> MD5:18a257e13c90e3872b7b9400c2fc6e4b. As the distinction between
> SAVE_IMPLICIT and SAVE_EXPLICIT is lost, when reading/writing a mod  
> file
> (the distinction should not be needed for use-associated symbols), I
> don't see how the MD5 sum could possibly change.

The MD5 sum printed in the file is the MD5 sum of the module file,  
starting after the first two lines (and their newline characters).  
You can get a diff of the files to see what has changed in detail.  
You can also remove the first two lines and check that the MD5 sum  
calculated by an external tool is the same as the one printed in the  
file.

FX




More information about the Fortran mailing list