https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87705

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-10-23
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed from 4.8 up to trunk (9.0). The test compiles with 4.3.6.

Reduced test:

module test_mod

  implicit none

  type :: temp_val_prop
    character(len=9)    :: qlevel         ! gfortran compiler error
    integer(4)          :: n
  end type temp_val_prop

  type material_data
    type(temp_val_prop) :: emodul
  end type

end module test_mod

program main

  use :: test_mod
  implicit none

  type(material_data) :: mat(100)
  data mat(1)%emodul%n /  15 /

end program main

Reply via email to