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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [generic_3.f90] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
! { dg-do compile }
! { dg-do compile }
! Testcase from PR 17713
! Testcase from PR 17713
module fit_functions
module fit_functions
  implicit none
  implicit none
contains
contains
  subroutine gauss( x, a, y, dy, ma )
  subroutine gauss( x, a, y, dy, ma )
    double precision, intent(in)     :: x
    double precision, intent(in)     :: x
    double precision, intent(in)     :: a(:)
    double precision, intent(in)     :: a(:)
    double precision, intent(out)    :: y
    double precision, intent(out)    :: y
    double precision, intent(out)    :: dy(:)
    double precision, intent(out)    :: dy(:)
    integer,          intent(in)     :: ma
    integer,          intent(in)     :: ma
  end subroutine gauss
  end subroutine gauss
end module fit_functions
end module fit_functions
subroutine mrqcof( x, y, sig, ndata, a, ia, ma )
subroutine mrqcof( x, y, sig, ndata, a, ia, ma )
  use fit_functions
  use fit_functions
  implicit none
  implicit none
  double precision, intent(in)   :: x(:), y(:), sig(:)
  double precision, intent(in)   :: x(:), y(:), sig(:)
  integer,   intent(in)          :: ndata
  integer,   intent(in)          :: ndata
  double precision, intent(in)   :: a(:)
  double precision, intent(in)   :: a(:)
  integer,   intent(in)          :: ia(:), ma
  integer,   intent(in)          :: ia(:), ma
  integer                           i
  integer                           i
  double precision                  yan, dyda(ma)
  double precision                  yan, dyda(ma)
  do i = 1, ndata
  do i = 1, ndata
     call gauss( x(i), a, yan, dyda, ma )
     call gauss( x(i), a, yan, dyda, ma )
  end do
  end do
end subroutine mrqcof
end subroutine mrqcof
! { dg-final { cleanup-modules "fit_functions" } }
! { dg-final { cleanup-modules "fit_functions" } }
 
 

powered by: WebSVN 2.1.0

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