OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [int_2.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! PR fortran/32823
2
! { dg-do compile }
3
! { dg-final { cleanup-modules "token_module" } }
4
 
5
module token_module
6
 
7
      integer,     parameter :: INT8  = SELECTED_INT_KIND(16)
8
      integer,     parameter :: REAL8 = SELECTED_REAL_KIND(12)
9
 
10
contains
11
      subroutine token_allreduce_i8_v(dowhat, array, result, length)
12
 
13
 
14
        character(*),  intent(in)    :: dowhat
15
        integer,       intent(in)    :: length
16
        integer(INT8), intent(in)    :: array(*)
17
        integer(INT8), intent(inout) :: result(*)
18
 
19
 
20
        real(REAL8) :: copy_r8(length), result_r8(length)
21
 
22
 
23
          result(1:length) = int(result_r8(1:length), INT8)
24
 
25
 
26
      end subroutine token_allreduce_i8_v
27
 
28
end module token_module

powered by: WebSVN 2.1.0

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