https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102315
--- Comment #3 from G. Steinmetz ---
A reduced variant with the same ICE :
$ cat z2.f90
program p
character :: x = 'a'
character :: y(5)
y = [[trim(x), 'b', 'c', 'd', 'e']]
print *, y
end
But z1 gives additional hints when reduc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102315
--- Comment #2 from anlauf at gcc dot gnu.org ---
Looks familiar, and I am pretty sure there's a duplicate.
Removing one set of [] makes the code compile:
y = [character(8) :: 'a'//trim(x), 'b', 'c', 'd', 'e']
is obviously "fine".
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102315
Martin Liška changed:
What|Removed |Added
Last reconfirmed||2021-09-14
Status|UNCONFIRME