public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/38259]  New: Add version number to .mod file
@ 2008-11-25 12:59 burnus at gcc dot gnu dot org
  2008-12-09 21:41 ` [Bug fortran/38259] " dfranke at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-11-25 12:59 UTC (permalink / raw)
  To: gcc-bugs

Currently, there are only strange parenthesis-related error messages given if
an old, incompatible .mod file is used with a newer compiler, e.g.

Fatal Error: Reading module mmm at line 16 column 65: Expected left parenthesis

(cf. also PR 38248). The solution is to add a version number which is always
bumped if a .mod related change happened, which presumably was the case for all
new GCC/gfortran releases.


-- 
           Summary: Add version number to .mod file
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          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=38259


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

* [Bug fortran/38259] Add version number to .mod file
  2008-11-25 12:59 [Bug fortran/38259] New: Add version number to .mod file burnus at gcc dot gnu dot org
@ 2008-12-09 21:41 ` dfranke at gcc dot gnu dot org
  2008-12-09 22:24 ` mikael at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2008-12-09 21:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dfranke at gcc dot gnu dot org  2008-12-09 21:39 -------
Could come in handy, especially if people start to distribute module files.


-- 

dfranke 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         |2008-12-09 21:39:32
               date|                            |


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


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

* [Bug fortran/38259] Add version number to .mod file
  2008-11-25 12:59 [Bug fortran/38259] New: Add version number to .mod file burnus at gcc dot gnu dot org
  2008-12-09 21:41 ` [Bug fortran/38259] " dfranke at gcc dot gnu dot org
@ 2008-12-09 22:24 ` mikael at gcc dot gnu dot org
  2009-01-28 18:14 ` mikael at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mikael at gcc dot gnu dot org @ 2008-12-09 22:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mikael at gcc dot gnu dot org  2008-12-09 22:23 -------
Created an attachment (id=16867)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16867&action=view)
first patch

This was starting to rot on my computer.


-- 


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


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

* [Bug fortran/38259] Add version number to .mod file
  2008-11-25 12:59 [Bug fortran/38259] New: Add version number to .mod file burnus at gcc dot gnu dot org
  2008-12-09 21:41 ` [Bug fortran/38259] " dfranke at gcc dot gnu dot org
  2008-12-09 22:24 ` mikael at gcc dot gnu dot org
@ 2009-01-28 18:14 ` mikael at gcc dot gnu dot org
  2009-02-12 12:33 ` burnus at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mikael at gcc dot gnu dot org @ 2009-01-28 18:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mikael at gcc dot gnu dot org  2009-01-28 18:14 -------
*** Bug 38993 has been marked as a duplicate of this bug. ***


-- 

mikael at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |colinlee at cray dot com


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


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

* [Bug fortran/38259] Add version number to .mod file
  2008-11-25 12:59 [Bug fortran/38259] New: Add version number to .mod file burnus at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-01-28 18:14 ` mikael at gcc dot gnu dot org
@ 2009-02-12 12:33 ` burnus at gcc dot gnu dot org
  2009-02-13 22:16 ` burnus at gcc dot gnu dot org
  2009-02-13 22:17 ` burnus at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-02-12 12:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from burnus at gcc dot gnu dot org  2009-02-12 12:33 -------
Jakub and Richard proposed on #gcc that this feature should still go into 4.4,
I agree.

(In reply to comment #2)
> Created an attachment (id=16867)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16867&action=view) [edit]
> first patch

The patch is pre-approved. (I personally had started with version 1 instead of
0, but it really doesn't matter.)


-- 


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


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

* [Bug fortran/38259] Add version number to .mod file
  2008-11-25 12:59 [Bug fortran/38259] New: Add version number to .mod file burnus at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-02-12 12:33 ` burnus at gcc dot gnu dot org
@ 2009-02-13 22:16 ` burnus at gcc dot gnu dot org
  2009-02-13 22:17 ` burnus at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-02-13 22:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from burnus at gcc dot gnu dot org  2009-02-13 22:16 -------
Subject: Bug 38259

Author: burnus
Date: Fri Feb 13 22:16:20 2009
New Revision: 144169

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144169
Log:
2009-02-13  Mikael Morin  <mikael.morin@tele2.fr>

        PR fortran/38259
        * module.c (gfc_dump_module,gfc_use_module): Add module
        version number.


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


-- 


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


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

* [Bug fortran/38259] Add version number to .mod file
  2008-11-25 12:59 [Bug fortran/38259] New: Add version number to .mod file burnus at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2009-02-13 22:16 ` burnus at gcc dot gnu dot org
@ 2009-02-13 22:17 ` burnus at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-02-13 22:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from burnus at gcc dot gnu dot org  2009-02-13 22:17 -------
FIXED on the trunk (4.4.0).


-- 

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=38259


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

end of thread, other threads:[~2009-02-13 22:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-25 12:59 [Bug fortran/38259] New: Add version number to .mod file burnus at gcc dot gnu dot org
2008-12-09 21:41 ` [Bug fortran/38259] " dfranke at gcc dot gnu dot org
2008-12-09 22:24 ` mikael at gcc dot gnu dot org
2009-01-28 18:14 ` mikael at gcc dot gnu dot org
2009-02-12 12:33 ` burnus at gcc dot gnu dot org
2009-02-13 22:16 ` burnus at gcc dot gnu dot org
2009-02-13 22:17 ` 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).