https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95682
Paul Thomas <pault at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX CC| |pault at gcc dot gnu.org Status|NEW |RESOLVED --- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> --- (In reply to anlauf from comment #2) > Adding some printout after initializing the t1%x(:), > > do i = 1, size(t1%x) > print *, len_trim (t1%x(i)), t1%x(i) > end do > > I get for gcc-8: > > 5 three > 5 three > 5 three > > and for 9,10,11: > > 3 one > 3 two > 5 three > > That's not a typical regression, but rather wrong code replaced by other > wrong > code. Since this was not really a regression, as you remark, and the testcase works correctly from 12-branch through mainline, I am closing as a WONTFIX. Paul