https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65025
--- Comment #4 from Fred Krogh <fkrogh#gcc at mathalacarte dot com> --- In collapsing a big code to the small example, I left out a line that should be there. Add below the first line use ISO_C_BINDING, only: C_DOUBLE, C_FLOAT, C_LONG_DOUBLE This has no effect however on the internal compiler error.