OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [int_2.f90] - Rev 399

Go to most recent revision | Compare with Previous | Blame | View Log

! PR fortran/32823
! { dg-do compile }
! { dg-final { cleanup-modules "token_module" } }

module token_module

      integer,     parameter :: INT8  = SELECTED_INT_KIND(16)
      integer,     parameter :: REAL8 = SELECTED_REAL_KIND(12)

contains
      subroutine token_allreduce_i8_v(dowhat, array, result, length)


        character(*),  intent(in)    :: dowhat
        integer,       intent(in)    :: length
        integer(INT8), intent(in)    :: array(*)
        integer(INT8), intent(inout) :: result(*)


        real(REAL8) :: copy_r8(length), result_r8(length)


          result(1:length) = int(result_r8(1:length), INT8)


      end subroutine token_allreduce_i8_v

end module token_module

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.