https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118710
--- Comment #8 from kargls at comcast dot net --- I just looked at your code in bugreport2.tar.gz. It uses a parameterized derived type. PDT are broken on gfortran. Unfortunately, there is no easy fix for PDT, and it has been suggested it needs to be completely redesigned and re-implemented. Unfortnately**2, none of current gfortran contributors have the cycles needed to take on this task.