I suggest that we provide an option to write gzip-compressed module files (-fcompress-modules). When enabled, the module files written are compressed on the fly by the appropriate calls to zlib (it's not very hard). Also, reading module files will need to check if they're compressed by looking at the first two bytes (even if -fcompress-modules is not enabled).
This will induce too much overhead while we still read module files more than once per compiled file; marking this bug as depending on 25708. -- Summary: Support for compressed modules Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: fortran AssignedTo: fxcoudert at gcc dot gnu dot org ReportedBy: fxcoudert at gcc dot gnu dot org BugsThisDependsOn: 25708 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29669