[Bug fortran/19308] New: compiler claims to accept variables of selected_integer_kind(30), I/O leads to internal error

Thomas dot Koenig at online dot de gcc-bugzilla@gcc.gnu.org
Fri Jan 7 10:25:00 GMT 2005


$ cat sel.f90
program sel
  integer(kind=selected_int_kind(30)) :: j
  j = 42
  print *,j
end
$ gfortran sel.f90
$ ./a.out
At line 4 of file sel.f90
Internal Error: bad integer kind
 $ gfortran -v
Using built-in specs.
Configured with: ../gcc-4.0-20050102/configure --prefix=/home/zfkts
--enable-languages=c,c++,f95
Thread model: posix
gcc version 4.0.0 20050102 (experimental)
$ gfortran -dumpmachine
ia64-unknown-linux-gnu

I don't know wether 128-bit integers are supposed to work or not,
so this is either a library or a compiler bug.

-- 
           Summary: compiler claims to accept variables of
                    selected_integer_kind(30), I/O leads to internal error
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Thomas dot Koenig at online dot de
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19308



More information about the Gcc-bugs mailing list