Topic: gfortran error compiling stop code ?
gfortran 7.2.0 has been out a while now, but suddently, when compiling code that has been around at least since June 2016 (Burkardt's site at fsu), I'm getting the following error, frequently:
".. undefined reference to '_gfortran_stop_numeric_f08' "
This tracks to a use of fortran stop with a numeric code, as in 'STOP 1'. Eliminating the stop code, leaving only 'STOP' results in error-free compilation/linking.
One suspects ('f08') this is a 'new' option from Fortran-08, which has been around a while. At least one site trackiing compilers says gfortran 7.2.0 fully implements STOP with codes.
Actually, before recent gfortran updates, I never saw this error - same codes compiled and linked.
Going thru all my codes (many in libraries) and changing them all seems a lot of work, especially when this is 'not supposed' to be a problem. Any other ideas would be appreciated; maybe I'm misreading something but not sure what.