This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/85953] [6/7/8/9 Regression] ICE in fold_convert_loc, at fold-const.c:2370
- From: "gscfq at t-online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 May 2018 18:41:53 +0000
- Subject: [Bug fortran/85953] [6/7/8/9 Regression] ICE in fold_convert_loc, at fold-const.c:2370
- Auto-submitted: auto-generated
- References: <bug-85953-4@http.gcc.gnu.org/bugzilla/>
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