This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16581] New: gfortran F90 bit intrinsics don't work with integer*{1,2,8}
- From: "billingd at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jul 2004 01:32:42 -0000
- Subject: [Bug fortran/16581] New: gfortran F90 bit intrinsics don't work with integer*{1,2,8}
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Fortran 90 bit intrinsics don't work with integer*{1,2,8}.
I understand this is a know bug. The test case is
g77.f-torture/execute/f90-intrinsic-bit.f,
which I believe to be standard conforming (as I wrote it).
The first few error messages are:
In file f90-intrinsic-bit.f:107
call c_i(IBCLR(14,j2),12,'IBCLR(integer,integer*2)')
1
Error: 'pos' argument of 'ibclr' intrinsic at (1) must be of kind 4
In file f90-intrinsic-bit.f:108
call c_i(IBCLR(14,k2),12,'IBCLR(integer,integer*1)')
1
Error: 'pos' argument of 'ibclr' intrinsic at (1) must be of kind 4
In file f90-intrinsic-bit.f:109
call c_i(IBCLR(14,m2),12,'IBCLR(integer,integer*8)')
1
Error: 'pos' argument of 'ibclr' intrinsic at (1) must be of kind 4
In file f90-intrinsic-bit.f:111
call c_i2(IBCLR(j,j2),ja,'IBCLR(integer*2,integer*2)')
1
Error: 'pos' argument of 'ibclr' intrinsic at (1) must be of kind 4
--
Summary: gfortran F90 bit intrinsics don't work with
integer*{1,2,8}
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: billingd at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16581