https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81048
Paul Thomas <pault at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pault at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> --- The offending revision is 225447. The chunk that causes the problem is currently at line 14970. Reverting it fixes this problem but now causes the new testcases in the revision to fail and a couple of other regressions. Please use the following workaround, while I figure out a patch: function g2(a) type(f) :: a, g2(3) g2 = f() ! Apply the default initializer (PR81048) Cheers Paul