https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118059
Paul Thomas <pault at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> --- Created attachment 59940 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59940&action=edit Fix for this PR Thanks for bringing this bug to my attention. I am surprised that this did not emerge a long time before this PR. I guess that nobody tried assigning a character array valued transformational function result to an unlimited polymorphic variable. 158 | B = reshape (chr, [5, 1, 2]) is the offender in this case. As you can see, the fix is trivial. I will apply it at the same time as the fix for pr116254, which will be as soon as Richard Sandiford confirms that it is OK. Paul