Debian Codegraph @

gcc/testsuite/gfortran.dg/graphite/id-28.f90

raw
1 ! Verify we elide modulo operations we cannot represent
2 module OPMATRIX_MODULE
3 implicit none
4 type opmatrix_type
5 real(kind=kind(1.0d0)), dimension(:,:), pointer :: restricted
6 end type
7 interface zero_
8 module procedure zero
9 end interface
10 contains
11 subroutine zero(self)
12 type(opmatrix_type) :: self
13 self%restricted = 0.0d0
14 end subroutine
15 end