[Patch, Fortran] [4.4 Regression] .mod file versioning causes error instead of overwritting the file

Tobias Burnus burnus@net-b.de
Thu Feb 26 23:47:00 GMT 2009


>From the bug report:
| In order to not trigger a compilation cascade, gfortran only overwrites a .mod
| file when its MD5 sum has changed.
|
| Seemingly, the mod-file versioning has the side effect that the MOD file is not
| overwritten if there are no other changes but the version number, which causes
| the version-mismatch error.

The simple solution is to include the version number in the has-changed check.

Build and tested on x86-64, regtesting still running.
OK when it passes?

Tobias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod.diff
Type: text/x-patch
Size: 1031 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20090226/2dc0a0fe/attachment.bin>


More information about the Fortran mailing list