https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87359
--- Comment #43 from Jürgen Reuter <juergen.reuter at desy dot de> --- I just checked that Paul's fix actually solves all problems that our code had with the current trunk of gcc/gfortran as of r264501.