Problem solved (probably).
When setting out to downgrade gfortran, I found that there was a slight
upgrade available - 9.3.0.1 to 9.3.0.2. I upgraded, ran "make clean" and
"make test". This time it ran to completion with no error message.
Seems unlikely this minor upgrade fixed a major problem. More likely,
reinstalling gfortran was what fixed it.
I was having similar problems with other programs, not just this one,
and time will tell whether upgrading fixed everything.
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple