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/85953] [6/7/8/9 Regression] ICE in fold_convert_loc, at fold-const.c:2370


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

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

Just for completeness, this variant works :


$ cat z2.f90
program p
   character(:), allocatable :: x(:)
   x = [character :: 'a', 'b']
   x = [character :: x, 'c']
   print *, x
end


$ gfortran-9-20180527 z2.f90 -static-libgfortran
$ a.out
 abc

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