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/82719] [PDT] ICE in transfer_expr, at fortran/trans-io.c:2393


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

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