This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/16581] New: gfortran F90 bit intrinsics don't work with integer*{1,2,8}


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]