public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/39309]  New: [4.4 Regression] .mod file versioning causes error instead of overwritting the file
@ 2009-02-26  9:42 burnus at gcc dot gnu dot org
  2009-02-26 10:22 ` [Bug fortran/39309] " pault at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-02-26  9:42 UTC (permalink / raw)
  To: gcc-bugs

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.

I'm not sure whether this is a problem between 4.x and 4.(x+1) versions as the
.mod file probably has changed in an incompatible way (different MD5 sum), but
still it is annoying.

Expected: If the version number does not match, the file is written
nevertheless.

(Maybe the error also occurs at a different place, I have not yet checked the
source code.)


-- 
           Summary: [4.4 Regression] .mod file versioning causes error
                    instead of overwritting the file
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39309


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/39309] [4.4 Regression] .mod file versioning causes error instead of overwritting the file
  2009-02-26  9:42 [Bug fortran/39309] New: [4.4 Regression] .mod file versioning causes error instead of overwritting the file burnus at gcc dot gnu dot org
@ 2009-02-26 10:22 ` pault at gcc dot gnu dot org
  2009-02-26 13:17 ` burnus at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pault at gcc dot gnu dot org @ 2009-02-26 10:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pault at gcc dot gnu dot org  2009-02-26 10:22 -------
Confirmed.

This scared the pants off me by apparently causing regressions and then a build
failure in libgomp.

Cheers

Paul


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-02-26 10:22:40
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39309


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/39309] [4.4 Regression] .mod file versioning causes error instead of overwritting the file
  2009-02-26  9:42 [Bug fortran/39309] New: [4.4 Regression] .mod file versioning causes error instead of overwritting the file burnus at gcc dot gnu dot org
  2009-02-26 10:22 ` [Bug fortran/39309] " pault at gcc dot gnu dot org
@ 2009-02-26 13:17 ` burnus at gcc dot gnu dot org
  2009-02-27  6:45 ` burnus at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-02-26 13:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from burnus at gcc dot gnu dot org  2009-02-26 13:17 -------
Created an attachment (id=17366)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17366&action=view)
Draft patch (untested, not even compiled)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39309


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/39309] [4.4 Regression] .mod file versioning causes error instead of overwritting the file
  2009-02-26  9:42 [Bug fortran/39309] New: [4.4 Regression] .mod file versioning causes error instead of overwritting the file burnus at gcc dot gnu dot org
  2009-02-26 10:22 ` [Bug fortran/39309] " pault at gcc dot gnu dot org
  2009-02-26 13:17 ` burnus at gcc dot gnu dot org
@ 2009-02-27  6:45 ` burnus at gcc dot gnu dot org
  2009-02-27  7:46 ` burnus at gcc dot gnu dot org
  2009-02-27 10:47 ` burnus at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-02-27  6:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from burnus at gcc dot gnu dot org  2009-02-27 06:45 -------
Subject: Bug 39309

Author: burnus
Date: Fri Feb 27 06:44:59 2009
New Revision: 144461

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144461
Log:
2009-02-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/39309
        * module.c (read_md5_from_module_file): Include mod version
        in had-changed test.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/module.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39309


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/39309] [4.4 Regression] .mod file versioning causes error instead of overwritting the file
  2009-02-26  9:42 [Bug fortran/39309] New: [4.4 Regression] .mod file versioning causes error instead of overwritting the file burnus at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-02-27  6:45 ` burnus at gcc dot gnu dot org
@ 2009-02-27  7:46 ` burnus at gcc dot gnu dot org
  2009-02-27 10:47 ` burnus at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-02-27  7:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from burnus at gcc dot gnu dot org  2009-02-27 07:46 -------
Subject: Bug 39309

Author: burnus
Date: Fri Feb 27 07:45:47 2009
New Revision: 144462

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144462
Log:
2009-02-27  Tobias Burnus  <burnus@net-b.de>

       PR fortran/39309
       * module.c (read_md5_from_module_file): Add missing quote.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/module.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39309


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/39309] [4.4 Regression] .mod file versioning causes error instead of overwritting the file
  2009-02-26  9:42 [Bug fortran/39309] New: [4.4 Regression] .mod file versioning causes error instead of overwritting the file burnus at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-02-27  7:46 ` burnus at gcc dot gnu dot org
@ 2009-02-27 10:47 ` burnus at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-02-27 10:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from burnus at gcc dot gnu dot org  2009-02-27 10:47 -------
FIXED on the trunk.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39309


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-02-27 10:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-26  9:42 [Bug fortran/39309] New: [4.4 Regression] .mod file versioning causes error instead of overwritting the file burnus at gcc dot gnu dot org
2009-02-26 10:22 ` [Bug fortran/39309] " pault at gcc dot gnu dot org
2009-02-26 13:17 ` burnus at gcc dot gnu dot org
2009-02-27  6:45 ` burnus at gcc dot gnu dot org
2009-02-27  7:46 ` burnus at gcc dot gnu dot org
2009-02-27 10:47 ` burnus at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).