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/53111] [4.7/4.8 Regression] Derived types cannot be included again with -std=f95


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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-04-25
                 CC|                            |janus at gcc dot gnu.org
            Summary|Derived types cannot be     |[4.7/4.8 Regression]
                   |included again when using   |Derived types cannot be
                   |standard Fortran 95         |included again with
                   |                            |-std=f95
     Ever Confirmed|0                           |1

--- Comment #1 from janus at gcc dot gnu.org 2012-04-25 11:41:43 UTC ---
Confirmed. This is a regression in gfortran 4.7 (and trunk, 4.6 works).
Slightly reduced test case:

module a
  type :: my
    real :: x
  end type
end module

module b
  use a
end module

program test
  use a
  use b
end program


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