[Bug fortran/92779] [8/9/10 Regression] ICE in gfc_conv_intrinsic_funcall, at fortran/trans-intrinsic.c:4225
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Tue Dec 3 20:55:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92779
G. Steinmetz <gscfq@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---
These slightly modified variants are doing well :
$ cat z2.f90
program p
associate (y => spread(trim('abc'),1,2) // 'd')
print *, y
end associate
end
$ cat z3.f90
program p
character(3) :: a = 'abc'
associate (y => spread(a,1,2) // 'd')
print *, y
end associate
end
$ gfortran-10-20191201 z2.f90 && ./a.out
abcdabcd
$
$ gfortran-10-20191201 z3.f90 && ./a.out
abcdabcd
More information about the Gcc-bugs
mailing list