https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88326
Harald Anlauf <anlauf at gmx dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gmx dot de --- Comment #5 from Harald Anlauf <anlauf at gmx dot de> --- Using my tentative fix for PR89266 I now get: % gfc-x pr88326-z1.f90 pr88326-z1.f90:3:20: 3 | character :: y(1) = transfer('', x) | 1 Error: Different shape for array assignment at (1) on dimension 1 (1 and 0) % gfc-x pr88326-z2.f90 pr88326-z2.f90:3:23: 3 | character(0) :: y(1) = transfer('', x) | 1 Error: Different shape for array assignment at (1) on dimension 1 (1 and 0) % gfc-x pr88326-z3.f90 (No error). Should be fixed when PR89266 is fixed.