------- Comment #1 from tobi at gcc dot gnu dot org 2007-04-16 13:28 ------- An easy solution that I thought about implementing in the past would be to put a checksum into the file header. First the module file would be written to a temporary file. This file would be checksummed and only moved to the final location if the checksum is different from that of the extant file.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31587