[Bug fortran/69861] ICE on declaring class parameter array

gerhard.steinmetz.fortran@t-online.de gcc-bugzilla@gcc.gnu.org
Wed Feb 17 19:33:00 GMT 2016


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

--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
Whereas, with a scalar parameter :


$ cat z2.f90
program p
   type t
      character :: c
   end type
   class(t), parameter :: z = t('a')
   print *, z%c
end


$ gfortran-6 z2.f90
$ a.out
 a

# no error


More information about the Gcc-bugs mailing list