I get an error with the Macintosh gfortran from the 20050213 package. This compilies with out problem on all the f90 and f95 compiliers that I have tried. Puting "Z'4002800000000000'_INT8" as the data statement will let gfortran compile it, but then Absoft 9.0, Layhey 6.2 and IBM will reject it.
[dranta:~/tests/gfortran] dir% gfortran -c sagechanges.f90 In file sagechanges.f90:5 data ieee64_two / Z'4002800000000000'/ 1 Error: Integer too big for integer kind 4 at (1) [dranta:~/tests/gfortran] dir% cat sagechanges.f90 subroutine get_real_type() implicit none integer, parameter :: INT8 = SELECTED_INT_KIND(16) integer(INT8) :: ieee64_two data ieee64_two / Z'4002800000000000'/ end subroutine get_real_type -- Summary: Error on kind 16 hex data statement Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dir at lanl dot gov CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: powerpc-apple-darwin7.8.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20058