[Bug fortran/82719] [PDT] ICE in transfer_expr, at fortran/trans-io.c:2393

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Wed Oct 25 16:10:00 GMT 2017


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

G. Steinmetz <gscfq@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |82173

--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---

Printing values individually works :


$ cat z2.f90
program p
   type t(a)
      integer, len :: a
      character(len=a) :: c
   end type
   type(t(2)) :: x

   x = t(2,'ab')
   print *, x%a
   print *, x%c
end


$ gfortran-8-20171022 -static-libgfortran z2.f90
$ ./a.out
           2
 ab


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173
[Bug 82173] [meta-bug] Parameterized derived type errors


More information about the Gcc-bugs mailing list