This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/21986] Bad .mod file, ICE upon USE



------- Comment #8 from pault at gcc dot gnu dot org  2005-10-26 19:44 -------
This was fixed on mainline and 4.0

The testcase now gives:

[root@localhost mytests]# /gcc-clean/bin/gfortran -c pr21986.f90
 In file pr21986.f90:4

  public:: dummysub     ! comment out, lose the bug
                  1
Error: 'size' is a PRIVATE type and cannot be a dummy argument of 'dummysub',
which is PUBLIC at (1)
 In file pr21986.f90:23

    use modboom         ! bad .mod file ?
                                        1
Fatal Error: Can't open module file 'modboom.mod' for reading at (1): No such
file or directory


-- 

pault at gcc dot gnu dot org changed:

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]