[Bug fortran/53111] [4.7/4.8 Regression] Derived types cannot be included again with -std=f95

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 25 11:42:00 GMT 2012


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



More information about the Gcc-bugs mailing list