https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95038
Ev Drikos <drikosev at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |drikosev at gmail dot com --- Comment #8 from Ev Drikos <drikosev at gmail dot com> --- (In reply to Bill Long from comment #6) > Is there a released version with the fix noted in this bug? The code compiles with some older versions, without being sure that it produces correct results, a complete program is needed. Whereas, fortran-8.4 indeed raises an error. See ie: $ gfortran8 -c pr95038-00.f90 pr95038-00.f90:9:28: real(kind(x)) a(:) 1 Error: 'x' argument of 'kind' intrinsic at (1) must be a data entity $ gfc -c pr95038-00.f90 $ gfc --version GNU Fortran (GCC) 4.8.5