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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.dg/] [anint_1.f90] - Blame information for rev 437

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run }
2
! Check the fix for PR33568 in which the optional KIND
3
! argument for ANINT, with an array for the first argument
4
! would cause an ICE.
5
!
6
! Contributed by Ignacio Fernández Galván 
7
!
8
PROGRAM Test
9
  IMPLICIT NONE
10
  INTEGER, PARAMETER :: DP=8
11
  REAL(DP), DIMENSION(1:3) :: A = (/1.76,2.32,7.66/), B
12
  A = ANINT ( A , DP)
13
  B = A
14
  A = ANINT ( A)
15
  if (any (A .ne. B)) call abort ()
16
END PROGRAM Test

powered by: WebSVN 2.1.0

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